Contribute Media
A thank you to everyone who makes this possible: Read More

The next iteration of your GUI


This talk will show how GUI applications written as a series of generators are fun to write, responsive, user friendly and easy to unit test. We dive into the details of language functions of PEP 342 (Coroutines via Enhanced Generators) and PEP 380 (Syntax for Delegating to a Subgenerator). With this knowledge refreshed, we discuss why and how these functions can be integrated in an event loop. Then we demonstrate how we used these functions to rewrite all the asynchronous operations of the Camelot framework and avoided series of callbacks transforming the code from complicated to beatiful.


Improve this page