1053
do as i say... (lemmy.ca)
submitted 1 year 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 1 year ago* (last edited 1 year 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 1 year ago

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

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

Programmer Humor

32558 readers
530 users here now

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

Rules:

founded 5 years ago
MODERATORS