devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agocodeStylelemmy.worldimagemessage-square53fedilinkarrow-up1396arrow-down127
arrow-up1369arrow-down1imagecodeStylelemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square53fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up8·8 months 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·8 months 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