Yield

 Yield

Asynchronised operations are good. Callbacks are not. Named callbacks clutter scopes and are disruptive. Anonymous callbacks create deeply nested code and become totally unreadable—Python does not even support that because it just lacks style! We deserve better. Let’s take a look on how Python 3.4’s new “asyncio” (aka Tulip) brings elegance to async tasks.

9dafad54b5b4f360b7aae5f482bc1c91?s=128

Tzu-ping Chung

May 17, 2014
Tweet