Comment by ajb
3 months ago
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".
No comments yet
Contribute on Hacker News ↗