News for hackers. Stuff that matters.
Re:Checked exceptions: Java’s biggest mistake (2014) by thu2111 on Saturday September 12, 2020 @03:37PM (#24454924)
Exceptions are slow to throw, but they're meant to be exceptional so that's OK. Good implementations impose no overhead the rest of the time. This is not the case for return type based systems, where you can easily end up with an allocation that must be GCd later.

There are no comments on this comment yet.