3 ms·
> So even if a big fraction of C++ programmers disagree, The percentage of c++ programmers using exceptions seems to increase in jetbrains survey - for the las
by jcelerier 5y ago
> So even if a big fraction of C++ programmers disagree,
The percentage of c++ programmers using exceptions seems to increase in jetbrains survey - for the last one it's at 80%, it used to be close to 60% iirc. I wouldn't call 20% a big fraction.
There are no other ways to prevent an invalid object representation to exist unless one is willing to wrap literally everything in optionals, basically reimplementing an exception unwind stack by hand.