[Twisted-Python] Current callback best practices

Glyph glyph at twistedmatrix.com
Wed Apr 3 17:40:00 EDT 2013

On Apr 3, 2013, at 4:25 AM, Hynek Schlawack <hs at ox.cx> wrote:

> So you’re cool with calling callbacks after the event that triggered? That would’ve been my second question but I didn’t want it to divert the discussion. I kind of like `onData` et al too but the Twisted examples rather shun it.

The examples are not always the best examples of every aspect of style :).  Perhaps people don't like 'on' because it reminds them of JavaScript too much.  (Not me, though, it reminds *me* of SuperCard…)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20130403/c77b8ca7/attachment-0001.htm 

More information about the Twisted-Python mailing list