this post was submitted on 20 Dec 2024
186 points (97.9% liked)

Programmer Humor

19821 readers
2 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Anticorp@lemmy.world 1 points 4 days ago (1 children)

If you don't work on software projects with other people then it won't make any sense to you.

[–] pfm@scribe.disroot.org 2 points 4 days ago* (last edited 4 days ago) (1 children)

I've been doing it for 2 decades, still don't get it. So maybe you can enlighten me what IT has to do with naming stuff in code?

[–] Anticorp@lemmy.world -1 points 3 days ago (1 children)

IT isn't software development. Are you in programming, or IT?

[–] pfm@scribe.disroot.org 0 points 3 days ago (1 children)

Wtf, I've just written above: I've been doing software projects with other people for 2 decades. 🤦

I know what IT is, hence my claim that I don't know what it has to do with naming variables. I know the answer: nothing. It's a rhetorical figure. 🙄

[–] Anticorp@lemmy.world -1 points 3 days ago

You actually wrote

I've been doing it for 2 decades, still don't get it. So maybe you can enlighten me what IT has to do with naming stuff in code?

You capitalized "it", so I thought you meant IT, as in Information Technology, as in device management and shit.

Anyways, idk if I can offer any insight that you haven't read already. But naming conventions are a small detail that people get really passionate about. Additionally, when people don't follow the agreed upon naming convention for the project, then the pull request ends up turning into a big argument about renaming shit, rather than an actual code review. This will sometimes spark an even bigger conversation in slack, which can turn into a meeting, and waste a lot of time.

Its usually junior engineers that don't follow it, because they're using all of their mental faculties to solve the problems, and then senior engineers see the deviation from convention and call it out. If you don't have a team style guide, then that call-out can turn into a big ol argument between the senior engineers about different philosophies. It's annoying, but it's less annoying than working in a project with no agreed-upon naming convention.