ES4 draft: Vector
lhansen at adobe.com
Wed Mar 5 14:33:56 PST 2008
> -----Original Message-----
> From: es4-discuss-bounces at mozilla.org
> [mailto:es4-discuss-bounces at mozilla.org] On Behalf Of Jon Zeppieri
> Sent: 5. mars 2008 13:04
> To: es4-discuss at mozilla.org
> Subject: Re: ES4 draft: Vector
> I just realized that my message from yesterday about the 'fixed'
> property (of the Vector class) was sent as a reply to the
> thread about the Map class... Sorry.
No wonder I was confused :-)
> So, why a read/write, rather than a read-only, 'fixed' property?
It was my hunch when I designed that feature that code that uses
fixed-length vectors wants to be able to catch errors most of the time,
but also does not want to be stuck in the straightjacket that a
settable-but-not-resettable fixedness property creates, leaving it
unable to extend the vector in place after making it fixed.
> 2008/3/3 Lars Hansen <lhansen at adobe.com>:
> > I enclose a slightly incomplete/rough draft for the Vector class.
> > Please comment.
> > --lars
> > _______________________________________________
> > Es4-discuss mailing list
> > Es4-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es4-discuss
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
More information about the Es4-discuss