[Twisted-Python] Twisted vs jQuery Deferreds (was Re: RPC design questions)
washort at twistedmatrix.com
Thu Aug 25 12:20:52 EDT 2011
On Thu, Aug 25, 2011 at 4:29 AM, Tobias Oberstein <
tobias.oberstein at tavendo.de> wrote:
> I know this is kinda OT for this list, but it could serve Twisted
> indirectly: by propagating
> it's mature, sane Deferred concept/terminology instead of half-baked,
> flawned others.
In some ways the popular JS design is better, since it provides
immutable-once-resolved promises. You can have that without breaking
chaining though; see how E's promises work.
I don't think Twisted's interface for Deferreds is the final answer, but
chaining is important to keep :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python