DEV Community

Discussion on: Algebraic Effects in JavaScript part 2 - Capturing continuations with Generators

Collapse
 
dmzkrsk profile image
Алексей Трофимов

“We don't want to modify the interpreter each time we want to add some control construct”

But we end up with all generators having an extra argument. How is it better than modifying interpreter? What if we want to add another control construct and we end up changing all generators signatures again?