News for hackers. Stuff that matters.
Re:The Cost of Exception Handling by masklinn on Saturday November 12, 2022 @07:40AM (#33572493)
I was going to say that such an alternative history C++ could have had MRVs earlier, or even sum types... but apparently exceptions were added a decade after constructors (if we draw that back to the original "C with classes").

So yeah, you're right that constructors led to exceptions, unless the designers of C++ had been willing to go back to the drawing board and entirely redo constructors.

There are no comments on this comment yet.