devilish666 to Programmer Humor@lemmy.ml · 1 year agocodeStyleimagemessage-square44fedilinkarrow-up1400arrow-down128
arrow-up1372arrow-down1imagecodeStyledevilish666 to Programmer Humor@lemmy.ml · 1 year agomessage-square44fedilink
minus-squaremarcoslinkfedilinkarrow-up9·1 year 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-squareRustyNovalinkfedilinkarrow-up2·1 year 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