this post was submitted on 05 Jul 2024
26 points (93.3% liked)

Programmer Humor

19471 readers
1344 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 1 year ago
MODERATORS
 

(the joke is C++)

you are viewing a single comment's thread
view the rest of the comments
[–] Redkey@programming.dev 11 points 4 months ago* (last edited 4 months ago) (1 children)

Did you read all the way to the end of the article? I did.

At the very bottom of the piece, I found that the author had already expressed what I wanted to say quite well:

In my humble opinion, here’s the key takeaway: just write your own fucking constructors! You see all that nonsense? Almost completely avoidable if you had just written your own fucking constructors. Don’t let the compiler figure it out for you. You’re the one in control here.

The joke here isn't C++. The joke is people who expect C++ to be as warm, fuzzy, and forgiving as JavaScript.

[–] arendjr@programming.dev 6 points 4 months ago

Can’t it be both? :)