News for hackers. Stuff that matters.
Re:Checked exceptions: Java’s biggest mistake (2014) by staticassertion on Friday September 11, 2020 @03:39PM (#24446521)
You aren't forced to handle it well, you are forced to handle it.
Re:Checked exceptions: Java’s biggest mistake (2014) by ragnese on Friday September 11, 2020 @05:47PM (#24447681)
You aren't forced to write your happy path code well, either. What's your point?
Re:Checked exceptions: Java’s biggest mistake (2014) by dllthomas on Friday September 11, 2020 @08:46PM (#24448873)
The point seemed to be that checked exceptions are a bit of a help, whereas you seem to be responding to an implied claim that they aren't helpful. I think that's why you're being downvoted.
Re:Checked exceptions: Java’s biggest mistake (2014) by ragnese on Friday September 11, 2020 @09:40PM (#24449135)
Perhaps. I definitely read it as them saying checked exceptions aren't helpful because you can still handle the errors poorly. But I can see how I might have misinterpreted the intent.
Re:Checked exceptions: Java’s biggest mistake (2014) by staticassertion on Saturday September 12, 2020 @07:18PM (#24456743)
I suppose I wasn't clear. You did misinterpret what I said, I intended to convey the exact opposite.