Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63800 invoked by uid 1010); 19 Mar 2007 22:23:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63785 invoked from network); 19 Mar 2007 22:23:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2007 22:23:03 -0000 Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:30035] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/C7-01604-54D0FF54 for ; Mon, 19 Mar 2007 17:23:03 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Mar 2007 15:22:54 -0700 Message-ID: <698DE66518E7CA45812BD18E807866CE18553D@us-ex1.zend.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] PATCH: anonymous functions in PHP Thread-Index: Acdqcyd+PwHjaEdmRBmF2QBspVHzEQAAfNfA References: <86478A67-DCA2-4000-9EF0-DA4338E8389B@omniti.com> <45FDF031.4010508@zend.com> <45FE2312.1050506@zend.com> <45FED6D9.8030307@caedmon.net> <45FEDAE5.2010309@zend.com> <45FEE396.7040905@caedmon.net> <0757BDEA-65F5-4123-B647-060DCA84B4B0@omniti.com> <45FEEF52.1060002@zend.com> <1174336464.24632.110.camel@blobule> <45FEF9A5.4050409@zend.com> <1174338801.24632.124.camel@blobule> <45FEFDCE.7050100@zend.com> <1174339527.24632.129.camel@blobule> <45FF01FE.6070504@zend.com> <698DE66518E7CA45812BD18E807866CE185525@us-ex1.zend.net> <45FF08CA.1060107@zend.com> <45FF09D4.2070504@pooteeweet.org> To: "Lukas Kahwe Smith" , "Stas Malyshev" Cc: "Robert Cummings" , "Wez Furlong" , "Sean Coates" , Subject: RE: [PHP-DEV] PATCH: anonymous functions in PHP From: andi@zend.com ("Andi Gutmans") Why would this pollute less? It would still pollute the namespace. > -----Original Message----- > From: Lukas Kahwe Smith [mailto:mls@pooteeweet.org]=20 > Sent: Monday, March 19, 2007 3:08 PM > To: Stas Malyshev > Cc: Andi Gutmans; Robert Cummings; Wez Furlong; Sean Coates;=20 > internals@lists.php.net > Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP >=20 > Stanislav Malyshev wrote: >=20 > >> Thoughts? > >=20 > > This might work, still not sure if we really want that in=20 > PHP. On one=20 > > side, it's cool, on other side closures can develop into a=20 > very messy=20 > > code :) >=20 > Yeah well .. for the single task of callbacks they are great=20 > and prevent a lot of messiness .. I think its messy to=20 > pollute the namespace for something which is not intended for=20 > reuse .. maybe we need to artificially limit its uses just=20 > like for "goto". >=20 > regards, > Lukas >=20