new since ActionScript 3.0 lecture notes

Peter Hall peter.hall at memorphic.com
Wed Feb 13 15:57:42 PST 2008


>From the discussions that I can recall, I thought it was to permit
more complex type combinations, adding intersection types using "&".
(which is why I like the change).

Peter


On Feb 13, 2008 11:48 PM, Brendan Eich <brendan at mozilla.org> wrote:
>
> On Feb 13, 2008, at 3:46 PM, Peter Hall wrote:
>
> >>    - Union types are spelled (x|y|z) now, not (x,y,z).
> >>      Popularity contest, the pipe character won.
> >>
> >
> > Didn't notice that change! (and I like it :))
>
> Popularity, but deeper reasons include (a) more future-proof; (b)
> precedent from other PLs.
>
> /be
>
>
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss
>



More information about the Es4-discuss mailing list