Call for opinions: attribute defaults and renaming "flexible"

Mark S. Miller erights at google.com
Fri Sep 5 14:45:18 PDT 2008


On Fri, Sep 5, 2008 at 2:33 PM, Ingvar von Schoultz
<ingvar-v-s at comhem.se> wrote:
> It would be much better if Object.freeze() got an added
> parameter, a bit flag that, when set, makes it more powerful
> and allows it to override the configurability flag. Then
> the override happens only when you enable it explicitly.
>
> Otherwise we have a case of silent failure, and silent failures
> are often very expensive to debug.

I don't understand. As currently proposed, Object.freeze always
succeeds. What silent failure are you concerned about?

-- 
 Cheers,
 --MarkM


More information about the Es-discuss mailing list