this post was submitted on 01 Mar 2024
369 points (93.2% liked)

Programmer Humor

32396 readers
1646 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 8 months ago (1 children)

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.

[โ€“] [email protected] 2 points 8 months ago

Rust is like Python, but actually tell you the rules instead of you doing whatever you want