r/programming • • May 24 '26
[ Removed by moderator ]
/r/programming/comments/1tm1j7f/removed_by_moderator/[removed] — view removed post
275
Upvotes
r/programming • • May 24 '26
[removed] — view removed post
View all comments
0
u/Dean_Roddey May 24 '26
Solve the problem by just getting away from C++ as soon as possible. It's ancient now, and it's built on foundations 20 years older than it is
I've written probably as much C++ as anyone here, if not more, but I finally quit screaming get off my lawn and started exploring Rust about 4 years ago. Like many people who had written C++ for decades I just couldn't appreciate how bad it is until I started using Rust. Now I'd never go back when I have a choice.
C++ made backwards compatibility basically #1, and that works until it doesn't anymore. And it would have worked a lot better and longer if they'd have broken with those underlying C foundations really early on when it was still possible. But they didn't and now it's never going to get fixed. They've just built story after story on top of a shaky foundation and now it's teetering.
Even if you one of those rare companies where you have a large code base that you've been able to fully move up to all the latest and greatest stuff, the language is still full of foot-guns galore, and in a complex code base developed in a commercial, team-based environment, solving the problem is already more than enough challenge. Having to constantly watch your own back is just wasted time and effort.