Proposal: Reflecting on non-string property names
Tom Van Cutsem
tomvc.be at gmail.com
Sun Dec 2 11:44:49 PST 2012
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss