[Twisted-Python] Current callback best practices
Glyph
glyph at twistedmatrix.com
Wed Apr 3 15:40:00 MDT 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…)
-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20130403/c77b8ca7/attachment.html>
More information about the Twisted-Python
mailing list