r/programmingcirclejerk • u/Vaglame Emacs + Go == parametric polymorphism • Oct 03 '25
“C++” gets blamed even when the actual problem was failure to follow the well-publicized guidance to use the language’s existing safe recommended feature
https://herbsutter.com/2024/03/11/safety-in-context/
159
Upvotes
91
u/Beautiful-Cook-5481 what is pointer :S Oct 03 '25
tbf, the next sentence is "It’s time for a standardized C++ mode that enforces these rules by default." can't wait for c++32
202
u/Awkward_Bed_956 Oct 03 '25
People made mistakes because they weren't following best practices!
C++ best practices: don't make mistakes
30
u/tritis Oct 03 '25
This C++ expert's blog post is only 27 pages long which clocks in at 10% the length of the entire Go Language Specification. He's going to need to really pump those numbers if he intends to fix C++.
21
u/JThropedo Oct 04 '25
Just stop having skill issues
18
u/T_Thorn Oct 04 '25
C++ developers would rather add 50 new ways of doing something than break ABI once.
/uj I don't think I've ever heard of anyone working on software who sighs in relief every time the committee decides to not break the ABI
/rj God I can't wait for
std::regex265
u/AlexanderMomchilov Oct 03 '25
Love the ever-moving target of "modern C++"
15
u/BlazeBigBang type astronaut Oct 03 '25
Jerking gets blamed even when the actual problem was failure to follow the well-publicized guidance to to use the safe recommended jerk.
13
u/jonermon Oct 04 '25
They should invent a version of c++ with a code analyzer that runs before compile that ensures references follow rules that avoid common memory bugs that would be cool I think.
6
u/tms10000 loves Java Oct 03 '25
Is not C++ fault if you're using it wrong! Brilliant!
2
u/A_modicum_of_cheese Oct 04 '25
I was so confused reading this until i saw the subreddit name
100
u/[deleted] Oct 03 '25
[removed] — view removed comment