News for hackers. Stuff that matters.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by taftster on Thursday July 13, 2023 @12:29PM (#36711888)
This is an insightful interview, thank you for the link. I'm well read up on the topic, but this interview was still great and is a good perspective on the checked/unchecked debate.

The fact that Java has introduced UncheckedIOException, in my opinion, shows how some people in the Java community have come to believe that checked exceptions were a mistake (understanding that lambda forced the issue). There's probably not too much to be easily done at this point, but consideration for changing checked exceptions in the JDK to extend RuntimeException sure would be interesting.

Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by rogerkeays on Thursday July 13, 2023 @12:38PM (#36712033)
I think this project shows how trivial it is to convert checked exception errors to compiler warnings.

https://github.com/rogerkeays/unchecked/blob/main/Unchecked....

No need to change the type hierarchy. Just make it a compiler option.