News for hackers. Stuff that matters.
Re:Four MLs (and a Python) by kenko on Thursday April 30, 2015 @01:11PM (#9466294)
It's always weird to me when people talk about using exceptions for control flow.

Exceptions are, pretty much explicitly, a control flow mechanism. That's what they do, they transfer control from one place to another. It's like people are getting hung up on the name.

Re:Four MLs (and a Python) by ignoramous on Thursday April 30, 2015 @09:14PM (#9468762)
Exceptions, in Java land at least, are very costly (think interrupts and context switching). To do flow control using them is shooting yourself in the foot.