News for hackers. Stuff that matters.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by vips7L on Thursday July 13, 2023 @05:34PM (#36716308)
It’s honestly the worst compromise. You can trivially ignore any error in Go and they don’t contain contextual information about the call stack.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by SomeRndName11 on Friday July 14, 2023 @04:32AM (#36721023)
ABility to ignore errors is a plus in fact. You can skip trivial non-critical problems and carry on without crashing the whole app, like it is normally done in C and C++.
Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever by vips7L on Friday July 14, 2023 @11:30AM (#36725418)
It would be if you would have to explicitly opt into it via an ignored variable like _ or something. But currently with go you can accidentally ignore the error when you don't mean to.