4 ms·
I would say yes, it's very easy to write inline anonymous functions which are very very nice for a primarily callback-driven model. I much prefer Python as a la
by archangel_one 14y ago
I would say yes, it's very easy to write inline anonymous functions which are very very nice for a primarily callback-driven model. I much prefer Python as a language overall, but I think writing code for "Node.py" would be an awful lot harder.
- pindi 14y ago"Node.py" is Twisted [1] and/or Tornado [2]. And you're definitely correct. [1] http://twistedmatrix.com/trac/ http://twistedmatrix.com/trac/ [2] http://www.tornadoweb.org/ http://www.tornadoweb.org/
- xyzzy123 14y agoAgree, Python doesn't feel as natural for callback-style. I do like the gevent (http://www.gevent.org/ http://www.gevent.org/) or greenlet style code though.