Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28563 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30646 invoked by uid 1010); 23 Mar 2007 03:43:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30631 invoked from network); 23 Mar 2007 03:43:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2007 03:43:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1892] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/00-29236-7EC43064 for ; Thu, 22 Mar 2007 22:43:37 -0500 Received: (qmail 69465 invoked by uid 98); 23 Mar 2007 03:43:39 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/2903. Clear:RC:1(127.0.0.1):. Processed in 0.067748 secs); 23 Mar 2007 03:43:39 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 23 Mar 2007 03:43:38 -0000 Received: from 209.254.223.2 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 22 Mar 2007 22:43:38 -0500 (CDT) Message-ID: <60365.209.254.223.2.1174621418.squirrel@www.l-i-e.com> In-Reply-To: <46028001.7060204@cschneid.com> References: <86478A67-DCA2-4000-9EF0-DA4338E8389B@omniti.com> <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> <698DE66518E7CA45812BD18E807866CE18559A@us-ex1.zend.net> <40259.216.230.84.67.1174435351.squirrel@www.l-i-e.com> <877e9a170703220436l267d2648jc99aaaf9cccecfdd@mail.gmail.com> <46028001.7060204@cschneid.com> Date: Thu, 22 Mar 2007 22:43:38 -0500 (CDT) To: "Christian Schneider" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP From: ceo@l-i-e.com ("Richard Lynch") On Thu, March 22, 2007 8:09 am, Christian Schneider wrote: >> Plain old google brought up: >> http://groovy.codehaus.org/Martin+Fowler's+closure+examples+in+Groovy >> among other hits (Groovy syntax should be easy enough to follow). > > He said real-life examples (-:C I said real-life NEED, as in, "I can't do X in a clean/decent way without a closure" Wanting to write obfuscated natural-language-looking code is not a NEED. :-) :-) :-) The only programmers I ever met in 25 years who NEEDED closures were AI Researchers (and I was one). And, yes, there IS a need for them in that kind of work. How many AI researchers have turned to PHP as their language of choice? 0.5, counting the guy who wrote that neural network thingie in PHP as his idea of a Good Time is all I know of... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?