𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agocodeStylelemmy.worldimagemessage-square12fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagecodeStylelemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square12fedilink
minus-squareRustyNova@lemmy.worldlinkfedilinkarrow-up0·2 years agoClasses often have camelCase or PascalCase. Snake cases often are for variables or functions. I don’t remember the java standards, but it’s enough to get it
minus-squarebassomitron@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-22 years agoIn college and workplace, all java projects I ever worked with used camelCase. Whether that’s the official stance of Java or not, I don’t recall.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up0·2 years agoThe Java standard is ClassName, variableName, FINAL_VALUE_NAME. It’s derived from a popular C++ standard. (But C++ has many for you to pick.) Python is the one that likes snake_case, but it’s for variables, as you said. Classes are still PascalCase.
minus-squareRustyNova@lemmy.worldlinkfedilinkarrow-up0·2 years agoRust is like Python, but actually tell you the rules instead of you doing whatever you want
minus-squareCosmic Cleric@lemmy.worldlinkfedilinkarrow-up0·2 years agoWhen you’re telling a joke to a bunch of computer programmer nerds, you got to tell them what programming language the joke is in, or else it just falls flat.
I don’t get it
Classes often have camelCase or PascalCase. Snake cases often are for variables or functions.
I don’t remember the java standards, but it’s enough to get it
In college and workplace, all java projects I ever worked with used camelCase. Whether that’s the official stance of Java or not, I don’t recall.
The Java standard is ClassName, variableName, FINAL_VALUE_NAME.
It’s derived from a popular C++ standard. (But C++ has many for you to pick.)
Python is the one that likes snake_case, but it’s for variables, as you said. Classes are still PascalCase.
Rust is like Python, but actually tell you the rules instead of you doing whatever you want
When you’re telling a joke to a bunch of computer programmer nerds, you got to tell them what programming language the joke is in, or else it just falls flat.