Adi Shavit — Generators, coroutines and other brain-unrolling sweetness

C 20 brings us coroutines and with them the power to create generators, iterables and ranges. We’ll see how coroutines allow for cleaner code, easier abstraction and genericity, composition and avoiding callbacks and inversion of control.
Back to Top