3 ms·
Have you considered using Ruby's throw/catch instead of exceptions? I did that for Atomy's condition system[1]. They worked great because you can just use the r
by vito 15y ago
Have you considered using Ruby's throw/catch instead of exceptions? I did that for Atomy's condition system[1]. They worked great because you can just use the restart names for the throw/catch tags.
[1]: https://github.com/vito/atomy/blob/master/kernel/condition.ay https://github.com/vito/atomy/blob/master/kernel/condition.a...
- andregawron 15y agoI might have considered throw and catch as I wrote the library, but right now, I cannot think of any good reason why I haven't used it. Will check that again. Thanks for the suggestion.