Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61034 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29295 invoked from network); 29 Jun 2012 04:40:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2012 04:40:51 -0000 Authentication-Results: pb1.pair.com header.from=davidkmuir@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=davidkmuir@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: davidkmuir@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:63434] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/8C-62543-3D13DEF4 for ; Fri, 29 Jun 2012 00:40:51 -0400 Received: by pbbrp12 with SMTP id rp12so4435259pbb.29 for ; Thu, 28 Jun 2012 21:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=iNZKWP61KAxYN5G/pX8i68iqn+XZo/wTmTK9zUIaf8g=; b=BBn2A4jVWPXQYlIZgVcHtO6B5goZkw+AcoBLA8x0zbUk8L29AR8wP1T4gC7537y+bC DYKRvi7Y08ed8+VcEJAcYUpyW9NC4BlX/DXEUrcdyriYj2czC+EOq5s2PeiPI3WqW+61 IRdLjEMuSdAgTf2Bl8rOZhL8cjzaPkBV1qhTMZB+AQFb7iPkpGyZfp27hIjO0sRu2ax2 kttZS0PhIKPTZlbBwSu8DYoxyI2sIWs6rwlI158NEX0GqxGoKmuNOr+O1qlERRLkEXQV jouVwfOOtXiZEf0Sk9NnI28Y2jj3NP7hdjpRAF1MJvJyqvjjfc4UnMZXfPJSCJKhjk/9 h9WQ== Received: by 10.68.200.232 with SMTP id jv8mr2281292pbc.161.1340944848561; Thu, 28 Jun 2012 21:40:48 -0700 (PDT) Received: from [0.0.0.0] (tmwpho1.lnk.telstra.net. [110.142.207.74]) by mx.google.com with ESMTPS id tj4sm4225318pbc.33.2012.06.28.21.40.46 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2012 21:40:48 -0700 (PDT) Message-ID: <4FED31EF.6060105@gmail.com> Date: Fri, 29 Jun 2012 14:41:19 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: minwei zhou CC: nikita.ppv@gmail.com, PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re:[PHP-DEV] List =?UTF-8?B?Y29tcHJlaGVuc+KAi2lvbnM=?= =?UTF-8?B?IGFuZCBnZW5lcmF0b3IgZXhwcmVzc2lvbuKAi3MgZm9yIFBIUA==?= From: davidkmuir@gmail.com (David Muir) On 29/06/12 14:06, minwei zhou wrote: > On Thu, Jun 28, 2012 at 6:48 PM, Nikita Popov wrote: >> Hi internals! >> >> Python and several other languages include support for list >> comprehensions and generator expressions and I'd like to see something > why PHP should going to like other language? Pretty much everything in PHP was "borrowed" from another language. This is nothing new. >> So, what do you think? Do we want something like this in PHP? > NO!!! > > PHP is not python please do not make PHP worse > > if you like python just go to use python > Try again, this time with less knee-jerk and more brain: Why is this a bad feature? How will it make PHP worse? What is so bad about it that it outweigh the benefits? Is it the syntax you don't like, or the concept? Cheers, David