Twisted inlineCallbacks and deferredGenerator. inlineCallbacks are a brilliant (but seemingly under-promoted) feature of Twisted which use the ability to return a value from a yield statement to make asynchronous callbacks look much more like regular sequential programming.
The first time I ran into these was in driftx's Cassandra client, which uses them all over. It makes the code much more readable.
http://github.com/driftx/Telephus
I just hope whoever writes these keeps winrtig more!
Tike - 10th October 2011 04:58 - #
ugg pas cher - 29th October 2011 03:05 - #