𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agocodeStylelemmy.worldimagemessage-square44fedilinkarrow-up1400
arrow-up1400imagecodeStylelemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square44fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up9·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-up2·2 years agoRust is like Python, but actually tell you the rules instead of you doing whatever you want
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