this post was submitted on 09 Sep 2023
1053 points (97.2% liked)

Programmer Humor

32396 readers
1101 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] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Camel case for local variables

Pascal case for global ones

The name should tell me it's purpose

That's it

[–] [email protected] 5 points 1 year ago (1 children)

Right?! People out here are writing a bible on how to name variables lmao

[–] [email protected] 2 points 1 year ago

Yeah I bet they feel so good about having the perfect recipe for naming variables, a recipe only they know or care about