What kind of optimizations? The variable have to be in some kind of
structure and it should be possible to read it as an object the same
way you read it as variables...

The fact that the "inheritance" between scopes I spoke of would be
hard to implement because they keep a one level deep structure and
change it when they change scope would be understandable. But no being
able to read the structure seems strange to me.

On Tue, Dec 20, 2011 at 11:19 AM, Erik Corry <erik.co...@gmail.com> wrote:
> 2011/12/20 Xavier MONTILLET <xavierm02....@gmail.com>:
>> Hi,
>>
>> There is this one thing in JavaScript I really hate: You can't so
>> {{$varName}} as in PHP so as soon as you need dynamic names, you have
>> to put everything in an object...
>>
>> I don't know how scopes are implemented
>
> Not being able to get hold of the scope as an object enables important
> optimizations and is a feature, not a bug.
>
> --
> Erik Corry
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to