369
codeStyle (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] marcos@lemmy.world 9 points 6 months ago

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.

[-] RustyNova@lemmy.world 2 points 6 months ago

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

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

Programmer Humor

32060 readers
1276 users here now

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

Rules:

founded 5 years ago
MODERATORS