Re: Let blocks

From: Date: Fri, 20 Jul 2007 00:35:53 +0000
Subject: Re: Let blocks
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-31124@lists.php.net to get a copy of this message
On Thu, 19 Jul 2007 23:16:33 +0200, Tijnema <tijnema@gmail.com> wrote: > On 7/19/07, Stanislav Malyshev <stas@zend.com> 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 >> stas@zend.com http://www.zend.com/ >> (408)253-8829 MSN: stas@zend.com > > 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, FWIW, It is my understanding that the next slated version of IE is to be: IE NEXT. It is a promisary(sp) venture between M$ and some standards groups (whos name(s) I cannot recall at the momment) to provide a fully Standards based browser which will also adhere to the current Accessibility standards. If any of this helps. > 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 ///////////////////////////////////////////////////// Service provided by hitOmeter.NET internet messaging! .

« previous php.internals (#31124) next »