So let's settle this once for all.
What do true engineers use? Snake_case or CamelCase?
IMO all the great engineers use Python and Python is used for stuff, not for gaymes like BabbyScript
I use C case.
None of my variable names go past 8 characters and they're all short and succinct because I don't use auto-complete in my editor.
>>60929659
Depends on the language for me, in C# I do snake for constants, camel for private, andWhateverThisIsCalledfor public.
>>60929821
Snake case for Python and constants, camel case for everything else.
Hungarian is the only true way
>>60929659
pascalCase > snake_case > CamelCase
>>60929987
It's PascalCase and camelCase.
I instruct my team to use camelCase.
I'm a big fan of this_case
>>60930043
camelCase > snake_case > PascalCase
PascalCase is CS graduate tier, fucking disgusting.
>>60930090
Exactly.
Whatever the project I'm working on says. I personally prefer typing CamalCase, but snake_case is easier to read. I question the need to use multi-word names for anything global variables/functions, though. Lisp's hyphens are sweet,forbidden fruit.
On a related note, is there a Vim/emacs plugin that'll convert normal spaces to one or the other while typing a symbol name?
I don't mind camelCase that much so I use it if an existing project uses it. But if I'm starting from scratch it's sneak_case all day every day baby.
It's just so much nicer to read. Easier to spot typos and such.
>>60929659
>What do true engineers use?
thisForMethodsFieldsAndVariables
ThisForClasses
THIS_FOR_CONSTANTS_I_E_FINAL_STATIC_FIELDS
>>60930187
Found the Java engineer, hi mate :D
I use whatever convention is accepted at whatever job I'm working. Fucking NEET homos.
been doing shit in C++ camelCase lately but I still think python has it right
class SnakeClass()
def snake_function
def snekafunction (also alright when two short words)
snake_string = str
pep 8 approved
variableName
ClassName
PREPROCESSOR_CONSTANT
>>60930241
You mean class PascalClass
>>60929916
fuck youuu
used to do snake case, but then I learned Java :^)
>>60929756
This is the only correct answer.
>>60929659
Whatever my lint tells me to.
>>60929756
>being a lazy faggot
enjoy your unreadable barely descriptive mess
>>60929659
>So let's settle this once for all.
>What do true engineers use? Snake_case or CamelCase?
whatever it tells you to use in the programming language's style guide
>>60929659
ITT: People who don't know the one true religion of kebab-case.
>names of user-defined types should be PascalCased
>types should be PascalCased and values should be camelCased
>Function names should be camelCased
>constants should be camelCased
>members of enums should be camelCased
>When acronyms are used in symbol names, all letters in the acronym should have the same case