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

Programmer Humor

32549 readers
697 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
[–] PR_freak@programming.dev 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

[–] Umbra@dormi.zone 5 points 1 year ago (1 children)

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

[–] PR_freak@programming.dev 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