News for hackers. Stuff that matters.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by _old_dude_ on Thursday July 13, 2023 @10:36AM (#36709814)
In Java, no method call is safe (Haskell/Rust safe), the langage will hapilly throws a null pointer exception or an out of memory error.

But I don't think C#, Kotlin or Scala are less safe than Java even if they do not have the concept of checked exceptions.

Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by rogerkeays on Thursday July 13, 2023 @10:46AM (#36709999)
Good point...
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by kaba0 on Thursday July 13, 2023 @04:05PM (#36715209)
Haskell and Rust can also throw exception/panic respectively in any call, ever.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by _old_dude_ on Thursday July 13, 2023 @06:19PM (#36716909)
Technically true, but Haskell forces you to use the IO monad and you can not really recover from a panic in Rust, the thread is dead.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by kaba0 on Thursday July 13, 2023 @06:31PM (#36717032)

  head []
No monad, nothing, just an exception.