3 ms·
Sure, people say they want to have to check for _every_ possible error, but then Java gets endless heat for having checked exceptions.
by gregopet 6y ago
Sure, people say they want to have to check for _every_ possible error, but then Java gets endless heat for having checked exceptions.
- abraxas 6y agoYes, this schizophrenic attitude drives me bonkers. Immature JS kids at my company love to make noises about Java’s verbosity yet spend hours debugging and troubleshooting most mundane errors because seemingly nothing is ever enforced by the JS interpreter. My theory is that nowadays Java is unpopular mostly because it is their parents’ programming language. That’s reason enough for these twenty somethings to despise it without even knowing the first thing about it.
- ragnese 6y agoHold on, though. There is plenty to dislike about Java. Everything can be null, interfaces have to be implemented at definition, broken array type variance, no const/mutable at the language level, no value types, etc...
- abraxas 6y agoNo question there is a lot to dislike about java but there are also things it got mostly right or better than competing languages of the day. Checked exceptions is in my opinion one of those.
- ragnese 6y agoI agree with that. I was heavily involved on the other thread someone linked to about Java's checked exceptions. Until that thread, I thought I was the only one who didn't accept that they were a mistake.