|
|
|
|
|
by yen223
397 days ago
|
|
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. |
|