new since ActionScript 3.0 lecture notes

Brendan Eich brendan at mozilla.org
Wed Feb 13 16:13:09 PST 2008


On Feb 13, 2008, at 3:57 PM, Peter Hall wrote:

>> 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).

That was one meaning of "future-proof", yeah. Another was to avoid  
overloading poor old comma, which might want to be used for something  
tuple-ish.

/be

>
> 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
>>
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss




More information about the Es4-discuss mailing list