News for hackers. Stuff that matters.
Re:Show HN: C3 – A C alternative that looks like C by jstimpfle on Tuesday July 20, 2021 @07:11AM (#27892321)
IMO, what C++ brings to the table is mainly everything that follows as a consequence from RAII.

And RAII, that's just some syntax to make writing badly structured programs practical. Because it does the tedious parts of matching "parentheses", it allows you to use a lot of them, without consideration if you could refactor the program to get away with fewer of them.

RAII also comes at the cost of requiring or encouraging "features" like exceptions and all the good stuff like copy/move constructors and what not. All highly non-orthogonal language features that require lots and lots of special cases and extra boilerplate.

There are no comments on this comment yet.