this post was submitted on 09 Sep 2023
760 points (97.3% liked)

Programmer Humor

31251 readers
955 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 10 months ago* (last edited 10 months 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 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago

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