On 7/19/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
<snip>
> I consider block scope a sort of "namespaces light", an easy to
> understand first step. As JS 2 will have the "let" keyword - and to most
> newbies JS will be the principal "other" language besides PHP - a
> similar construct would be easy to grasp.

I seriously doubt that many newbies need Javascript features that
appeared only in 1.7 - such as let blocks with advanced scoping rules -
or really understand them. Javascript is rather complicated (and
powerful) language - definitely more complicated than PHP, IMHO.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

I don't even think that "experts" will use it, since it will take ages
before Microsoft has updated IE to work with 1.7. I guess it will not
be implemented before IE8, and since the migration to IE7 goes already
very slow, it won't be earlier than 2009 before the biggest part of
the people uses an JS 1.7 compliant browser (IE8/FF2/...)

Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to