Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31114 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33751 invoked by uid 1010); 19 Jul 2007 21:16:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33736 invoked from network); 19 Jul 2007 21:16:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 21:16:40 -0000 Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.246 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 209.85.132.246 an-out-0708.google.com Received: from [209.85.132.246] ([209.85.132.246:35724] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/92-15636-5B4DF964 for ; Thu, 19 Jul 2007 17:16:39 -0400 Received: by an-out-0708.google.com with SMTP id c18so144059anc for ; Thu, 19 Jul 2007 14:16:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=THxdEAnSSEnaxI6LpiD/D/uHcZ5IpuqJaMQ76JKQtN7ViQHomjNtRVo0XDKPei0JwHN2iUsb6vf017UxY8xFgeZuIa7Zdsiv1k8E70biQrnddbt+JadAEgy+qzt53+APxYwAE/1H0Y+TfOB4Ckbevk7zRgqQR0O/w8ARBqEyAFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k1Mrjuhwgapqf8nLkQhe8wr+a1exHBIG5A33sZXfUPqH7gGMU/XtrxLSgZu3ijDqZyRLJN3ZXgucsp9xHZH0WGEZnZVra7RTQmCqGUmsq0PQSAJyOyUykBUQjLs5KzkkL2xNGBniWSoGzSXxXb9PMb/wOvVX7WYEEWgxJHarjhQ= Received: by 10.100.138.2 with SMTP id l2mr1795748and.1184879794333; Thu, 19 Jul 2007 14:16:34 -0700 (PDT) Received: by 10.100.33.17 with HTTP; Thu, 19 Jul 2007 14:16:33 -0700 (PDT) Message-ID: Date: Thu, 19 Jul 2007 23:16:33 +0200 To: "Stanislav Malyshev" Cc: "Keryx Web" , internals@lists.php.net In-Reply-To: <469FD1CD.8050800@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <469E5B35.2030602@keryx.se> <469E5E3C.6060807@gmx.li> <469F588B.8010901@keryx.se> <469FD1CD.8050800@zend.com> Subject: Re: [PHP-DEV] Let blocks From: tijnema@gmail.com (Tijnema) On 7/19/07, Stanislav Malyshev wrote: > > 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, 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