7

Poll: camelCase or snake_case?

Comments
  • 1
    camelCase
  • 1
    camelCase for code and snake_case for test cases
  • 9
    Depends on the language and it's standards or most commonly used naming standard. 🤗
  • 5
    camelCase on most languages, snake_case for Python. (:
  • 2
    What language?
  • 2
    CamelCase for classes
    camelBack for methods
  • 0
    AllClasses
    allVariablesAndFunctions
    the_pages (looks a little nicer in the browser IMO)

    Oh yeah and tables and columns are either all-caps or all lower case
  • 0
    Use camelCase on uppercase stuff and snake_case on lower case stuff.

    Example:
    my_function() ->
    MyVariable = my_other_function().
  • 1
    @mikk150 PascalCase and camelCase bruh. :3
  • 0
    Just don't do a camel bitten by a snake casing.
  • 3
  • 0
    camelCase for code, snake_case for CSS and the similar
  • 0
    It depend of language.

    snake_case for python (that make a little joke but it's convention)

    CamelCase for Java

    For examples
  • 2
    @azzuwan something like camel_beatenBySnake_case?
  • 1
    @jltorresm this camelSnake_case is formally known as PHP case
  • 0
    CamelToe
  • 0
    I prefer to follow the standards of whatever language I'm using, which is generally camelCase. I think it's much less readable than snake_case though, which has all the worlds clearly separated.
  • 0
    snake_case! because what if you have a variable that is an acronym?
Add Comment