this post was submitted on 23 Mar 2025
0 points (NaN% liked)

Programmer Humor

24736 readers
1847 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
[–] HandMadeArtisanRobot@lemmy.world 0 points 3 months ago (3 children)
[–] adhocfungus@midwest.social 0 points 3 months ago (2 children)

I used to love C++ and I still do to some extent. But the longer I am away from it the more I realize it was largely just Stockholm syndrome.

[–] 5C5C5C@programming.dev 0 points 3 months ago (1 children)

C++ was far and away my favorite language (I used it professionally for 10 years and was always excitedly keeping up with new ISO developments), until I learned the basics of Rust..

Now it's my firm belief that the world will become a better place when C++ stops existing. C++ just has no positive role to play in a world where Rust exists at the level of maturity that it already has.

Whatever they might try to do to C++ to make it less intolerable will be in vain until they're ready to break backwards compatibility. And once they're willing to break backwards compatibility to legitimately improve the language, they're just going to end up with a messy knock off of Rust.

[–] paperplane@lemmy.world 1 points 3 months ago

As long as you limit yourself to a subset of modern C++, it's actually a decent language. Less guardrails than Rust, but more syntactic sugar (think overloading, default parameters, implicit this, implicit reference-taking, implicit conversions). You could argue those are anti-features, but even as someone who really likes Rust, I gotta admit C++ is occasionally more ergonomic.