Object.defineProperties (seemingly) requires transactional behaviour

Allen Wirfs-Brock Allen.Wirfs-Brock at microsoft.com
Mon Sep 21 19:48:21 PDT 2009


It removing the atomicity requirement could still be accomplished if there appears to be consensus to do so. The algorithm is well ordered so failures would still be deterministic.

Allen

>-----Original Message-----
>From: es5-discuss-bounces at mozilla.org [mailto:es5-discuss-
>bounces at mozilla.org] On Behalf Of Jeff Walden
>Sent: Monday, September 21, 2009 6:51 PM
>To: Oliver Hunt
>Cc: es5-discuss
>Subject: Re: Object.defineProperties (seemingly) requires transactional
>behaviour
>
>I too am no fan of an atomic Object.defineProperties, both for its
>considerable complexity and for an argument from why-would-you-need-it
>(build up the entire thing and harden it as much as desired before
>handing it out, don't expect later updates to actually provide
>meaningful guarantees of integrity, and don't expect programmers to be
>capable of relying on such half-guarantees to their promised limits and
>no further).  I have not brought it up here, perhaps cynically, because
>I have had no expectation that this aspect of the specification would be
>changed at this late date (or even several months ago when I first
>noticed the issue).
>
>Jeff
>_______________________________________________
>es5-discuss mailing list
>es5-discuss at mozilla.org
>https://mail.mozilla.org/listinfo/es5-discuss



More information about the es5-discuss mailing list