News for hackers. Stuff that matters.
Re:Taming the UB Monsters in C++ by stingraycharles on Monday March 31, 2025 @06:53AM (#43533466)
Well, you kind of have your answer right there: it’s a language designed by committee, not by “the industry”.

This has been my biggest problem, and I say this as someone who has been on and off developing C++ for over 2 decades.

At the same time, it’s a safe bet to say that C++ will still be around in another 2 decades.

Re:Taming the UB Monsters in C++ by pjmlp on Monday March 31, 2025 @07:03AM (#43533535)
Don't forget that same applies to C.
Re:Taming the UB Monsters in C++ by roca on Monday March 31, 2025 @08:16PM (#43541469)
And COBOL.
Re:Taming the UB Monsters in C++ by pjmlp on Tuesday April 01, 2025 @07:17AM (#43545408)
Yeah, however at least COBOL wasn't designed without bounds checking, or pointer based strings, in 1959 hardware.
Re:Taming the UB Monsters in C++ by zombot on Tuesday April 01, 2025 @08:36AM (#43546028)
In 1959 people still made mistakes. By the time C came around, human error was all but eliminated. /s