3 ms·
> The problem is the C++ that's not great to work with is still there, and there's nothing preventing the rest of the world from using it; That's precisely why
by motorest 2y ago
> The problem is the C++ that's not great to work with is still there, and there's nothing preventing the rest of the world from using it;
That's precisely why all this criticism is actually thinly veiled naive inexperient developers blaming the tools. Selling full rewrites as solutions to the problems they created is a telltale sign. As they are lacking the experience and know-how to fix the mess, they succumb to the junior dev disease of believing deleting everything and starting from scratch is a solution to all of life's problems and inconveniences.
- grumpyprole 2y ago> naive inexperient developers blaming the tools That's not the problem. It's naive inexperienced developers using the tools. Most developers have to maintain code they didn't write themselves. One can learn all the C++ best practices in the world, but it won't protect you from other people. That's why languages with strong restrictions and constraints that force safety and correctness are needed. With such languages, naive inexperienced developers won't be able get anything to compile. We won't have to deal with their mistakes as they'll never be able to ship them. Any experienced developer would surely want this. A rewrite is not pointless if you are rewriting into a language with additional guarantees. You are checking for and proving the absence of certain classes of software flaws by doing so.
- lll-o-lll 2y ago> With such languages, naive inexperienced developers won't be able get anything to compile. Hey dude, I can’t get this thing to compile? Just wrap all your variables in Arc; that’s what I always do.
- wiseowise 2y agoI don’t see how juniors, who want to rewrite things, are the reason why C++ has 3 freaking ways to initialize a variable.
- davisp 2y agoThere’s a few more than three. https://leanpub.com/cppinitbook https://leanpub.com/cppinitbook https://www.reddit.com/r/ProgrammerHumor/comments/8nn4fw/forrest_gump_learns_c/ https://www.reddit.com/r/ProgrammerHumor/comments/8nn4fw/for...