On 4/7/08 11:13 AM, Peter Hall wrote: > I feel there is a need for a way to declare that a variable must be of > a dynamic type. The best syntax I could envisage would be for > "dynamic" to indicate a dynamic pseudo-type, when it is used in a type > expression. But it would be quite crippled without having intersection > types too. We considered this when designing AS3, but passed on it as being one too many uses of 'dynamic'. We felt that using the dynamic-ness of the class of the type annotation gives the user sufficient control in most cases. And anyway, without a static verifier ES4 won't be affected by this particular design trade-off. Jd _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
- Dynamic class default (was Re: Class meth... Kris Zyp
- Re: Dynamic class default (was Re: Class ... Brendan Eich
- Re: Dynamic class default (was Re: Class ... Kris Zyp
- RE: Dynamic class default (was Re: Class ... Lars Hansen
- RE: Dynamic class default (was Re: Class ... Lars Hansen
- Re: Dynamic class default (was Re: Class ... Steven Johnson
- Re: Dynamic class default (was Re: Class ... Neil Mix
- Re: Dynamic class default (was Re: Class ... Steven Johnson
- Re: Dynamic class default (was Re: Class ... Mark S. Miller
- Re: Dynamic class default (was Re: Class ... Peter Hall
- Re: Dynamic class default (was Re: Class ... Jeff Dyer
- Re: Dynamic class default (was Re: Class ... P T Withington
- Re: Class method addition and replacement... Nathan de Vries
- Re: Class method addition and replacement (wa... Brendan Eich
- Re: AOP Compatibility Brendan Eich
