Hacker News new | ask | show | jobs
by addaon 1576 days ago
And for those super-rare cases where it's appropriate to crash / fail hard in a constructor but you still have requirements about reporting or even recovery... setjmp/longjmp still exist.
1 comments

You have always had the choice available to do something overwhelmingly worse than throwing. That is not a reason to do it.