Proposal: Reflecting on non-string property names

Tom Van Cutsem tomvc.be at gmail.com
Sun Dec 2 11:44:49 PST 2012


[+markm]

2012/12/2 Allen Wirfs-Brock <allen at wirfs-brock.com>

> Yes.  This goes along with the idea of a SetIntegrity internal method/trap
> that makes non-extensible/sealed/frozen real object states rather than the
> last two being derived from property inspection. I think have those states
> at the object level would simplify the specification of invariants (as well
> as eliminate many uses of observable property level operation in the
> validation of the invariants)
>

Ok. So we're moving towards a design where "frozen" objects are really the
only ones with strong invariants. I think that could work.

Mark, what do you think?

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121202/07ed9912/attachment.html>


More information about the es-discuss mailing list