News for hackers. Stuff that matters.
Re:Software development topics I've changed my mind on after... by kelnos on Thursday February 06, 2025 @03:10AM (#42960202)
The problem there was really that Java confused unrecoverable errors with recoverable errors. NPEs and divide by zero should make the program abort (possibly with another, completely different mechanism to catch these if you really want to, a la Rust's panic handlers).

Recoverable errors should all be checked exceptions, and a part of each function's type signature. This would still be a huge pain to deal with, though, with the existing syntax.

There are no comments on this comment yet.