Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37258 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72348 invoked from network); 27 Apr 2008 02:00:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2008 02:00:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 209.85.200.172 wf-out-1314.google.com Received: from [209.85.200.172] ([209.85.200.172:60425] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/64-44564-25ED3184 for ; Sat, 26 Apr 2008 22:00:51 -0400 Received: by wf-out-1314.google.com with SMTP id 27so3509509wfd.26 for ; Sat, 26 Apr 2008 19:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=yFO0Fqm4oqO1NXPrj7PCqsGqgXaqZbBTxhptj0Ul+c0=; b=w9KlS8J/kLi7GekHvlP9SkYLLsSLbXsscGoYAK0IWu1H3TBAukpV/4HQUvTmNcFuLAcm4y8HB2t4RERET9XKKT8aAhpu0+k1zBxF913sQXHD9a5/JlIdC4FEYYHDomSlV7x+P0p0OYFXDFN/OnMlZyOXP9AVlzfQUYEvtG/Jxwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=XQ2JaINx9g8Tx4DR/pQodg612uywCcfIb9GAS+qcdFHl9ZFuwRyqPmYEDlykAWRoXK21687+V+P3AvhNppzfZM5B32Cuxu15W++yjhrMRvbdbM8IGiYBwjDHMNKBrpHJSoovmuaIWGtbfyfM26+9Cp0poifHTEzZodDXLJC6Q6M= Received: by 10.142.57.20 with SMTP id f20mr872526wfa.293.1209261648402; Sat, 26 Apr 2008 19:00:48 -0700 (PDT) Received: by 10.142.186.20 with HTTP; Sat, 26 Apr 2008 19:00:48 -0700 (PDT) Message-ID: Date: Sat, 26 Apr 2008 19:00:48 -0700 To: "=?ISO-8859-1?Q?David_Z=FClke?=" Cc: "Nathan Nobbe" , "Alain Williams" , internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1873_11711432.1209261648397" References: <1209137410.6642.9.camel@sbarrow-desktop> <7dd2dc0b0804251224s750679acn169637efbd8653fa@mail.gmail.com> <1209151505.20639.25.camel@sbarrow-desktop> <20080425231305.GC14490@mint.phcomp.co.uk> <9484717D-2EC6-44FF-93C8-1A9911294AF6@bitxtender.com> <7dd2dc0b0804261524l22237b58tfb9d0a341ab77233@mail.gmail.com> <64EF98DB-DB3C-44FD-BB1B-D051932F32C6@bitxtender.com> Subject: Re: [PHP-DEV] Return type hinting patch From: chrisstocktonaz@gmail.com ("Chris Stockton") ------=_Part_1873_11711432.1209261648397 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Anonymous functions as you know them today come from lambda calculus which was created before computers were even made. Generally it is agreed anon func =3D=3D labmda can be used interchangeably. Most developers will understand what: public function lambda sowat () { return function OR lambda, whatever () { = } } Seems more natural then whatever nightmare people could think of, like public function Function or public function ANONFUNCLOL... The thing that I hate about that idea is not a reserved word, any there is surely plenty of people with functions named them. Perhaps that detail can be worked out in the grammar without breaking bc. -Chris On Sat, Apr 26, 2008 at 5:20 PM, David Z=FClke wrote: > But anonymous functions and lambda expressions are not the same thing... > ------=_Part_1873_11711432.1209261648397--