CamelCase? snake_case? Something else? And why?

  • @t_var_s
    link
    63 years ago

    snake_case for variable names because they seem to be holding something in their underscores. camelCase for functions because verbNoun looks good. PascalCase for classes because it looks like it’s a level above that needs to be instantiated before getting used.