News for hackers. Stuff that matters.
Re:Problems with C++ exceptions by mgaunard on Wednesday November 12, 2025 @01:36AM (#45897012)
Don't use try/catch in the first place; that's where his error lies.
Re:Problems with C++ exceptions by 1718627440 on Wednesday November 12, 2025 @06:57AM (#45899082)
That's not his own invention, but an idea introduced by the language founder to sell the idea of RAII and exceptions. He did say, that he would prefer the C version, but then why use C++ in the first place.