this post was submitted on 01 Aug 2025
176 points (99.4% liked)

Programmer Humor

25531 readers
2283 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
[–] eager_eagle@lemmy.world 28 points 6 days ago (1 children)
[–] Lembot_0004@discuss.online 7 points 6 days ago (3 children)

That is why it is loved: it allows you to use ideas/objects the same way as you do as an engineer. Super cool.

[–] eager_eagle@lemmy.world 20 points 6 days ago (3 children)

yes, but in this particular case I wouldn't want to second guess my decrement operation just happens to also be calling the white house or whatnot. Just make a method.

[–] leo85811nardo@lemmy.world 2 points 6 days ago* (last edited 6 days ago)

That's just life of a C++ programmer: you second guess everything, and there are still optimization you haven't tried, and pitfalls you haven't got into

[–] CanadaPlus@lemmy.sdf.org 14 points 6 days ago

Until the next person with a slightly different mental way of defining things comes along. Or just a future version of you.

[–] mkwt@lemmy.world 5 points 6 days ago (1 children)

But when you do shoot yourself in the foot, it blows your whole leg off.

[–] Lembot_0004@discuss.online 2 points 6 days ago

As a shotgun. That's why people don't shoot themselves in the foot with a shotgun.