Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Continuing after arbitrary computation events that are meant to be fatal seems to me to be asking for trouble. It's why folk reviled Basic for its "On Error Resume Next" command. It has nothing to do with what Perl is about.

Optionally resuming after a computation event that is not meant to always be fatal in a principled manner is an excellent, well known, decades-old power programming technique available in a few sufficiently powerful languages. See, for example, Common Lisp's condition system [1] or Perl 6's similar system.[2]

[1] https://en.wikipedia.org/wiki/Common_Lisp#Condition_system

[2] http://design.perl6.org/S04.html#Exceptions



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: