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

Exceptions are usually used because the syntax for "performing" exceptions (throw) vs handling exceptions (try-catch) is familiar to most programmers, and is basically the same as the syntax for "performing" an effect vs handling the effect, except that the latter also includes resuming a function.

It would be cool to see how generators will be implemented with algebraic effects.



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

Search: