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

Modula-3 has it despite not having a continue statement:

https://www.cs.purdue.edu/homes/hosking/m3/reference/exit.ht...

But there, it's more comprensible because in order to define the interaction of return (and exit) with exceptions, they define return, and exit, to be exceptions. So then it's more obvious why return can be "caught".



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

Search: