Throw and catch


So, most of all familiar with throw and catch thing in Ruby. It’s sometimes useful to be able to break away from a deep-leveled stack. And raising a error is quite expensive. Why isn’t it in the language yet?


It’s bad practice. You should separate parts out into functions and use return if you want to do this. Or raise an exception.


Tries to dislike the post


for a more objective reason: it’d probably be impossible to typecheck. It’s basically goto.