1049
do as i say... (lemmy.ca)
submitted 3 years ago by xia@lemmy.ca to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] PR_freak@programming.dev 4 points 3 years ago* (last edited 3 years ago)

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 3 years ago

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

[-] PR_freak@programming.dev 2 points 3 years ago

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

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

Programmer Humor

43485 readers
53 users here now

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

Rules:

founded 7 years ago
MODERATORS