[Twisted-Python] Twisted vs jQuery Deferreds (was Re: RPC design questions)
Allen Short
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...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110825/652ad8e4/attachment.htm
More information about the Twisted-Python
mailing list