News for hackers. Stuff that matters.
Re:The Year of C++ Successor Languages by MoscMob on Monday January 02, 2023 @03:02PM (#34222892)
Unless you care about performance. Exceptions have a performance benefit in that there's no cost if they are not thrown. With returning error values, every caller up the chain has to test the error condition.

We've used exactly for this reason to improve performance, albeit this was a long time ago.

There are no comments on this comment yet.