News for hackers. Stuff that matters.
Re:Programming Language Rankings: January 2019 by iainmerrick on Friday March 22, 2019 @03:15PM (#19465909)
So you’re in the “avoid using exceptions” camp?

I was trying to figure out if people are happily using unchecked exceptions, or not using them at all.

Re:Programming Language Rankings: January 2019 by V-2 on Friday March 22, 2019 @03:29PM (#19466034)
I'm against using exceptions for flow control (that's nothing else but "goto" in disguise), and against handling exceptions far from where they occur.

I would deliberately throw exceptions as a "fail fast" safety switch, when I actually want the thing to burn down in flames. That's typically about violating some sort of a contract which indicates an implementation error - like an illegal argument. In such case to have them unhandled is sort of the point.

I found that following these principles by itself leads to a very limited role of exceptions in code.