Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54392 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20466 invoked from network); 4 Aug 2011 21:54:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2011 21:54:12 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 207.97.245.183 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 207.97.245.183 smtp183.iad.emailsrvr.com Linux 2.6 Received: from [207.97.245.183] ([207.97.245.183:38322] helo=smtp183.iad.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/D1-08937-1051B3E4 for ; Thu, 04 Aug 2011 17:54:10 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp58.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 3C69630825D; Thu, 4 Aug 2011 17:54:07 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp58.relay.iad1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 79F7E3082A6; Thu, 4 Aug 2011 17:54:06 -0400 (EDT) Message-ID: <4E3B14FD.3020608@sugarcrm.com> Date: Thu, 04 Aug 2011 14:54:05 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Jezz Goodwin CC: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= , "internals@lists.php.net" References: <4E3AF896.2090106@officechristmas.co.uk> <4E3AFE62.3080200@officechristmas.co.uk> <1312491216.1541.35.camel@guybrush> <4E3B08F0.2000400@officechristmas.co.uk> In-Reply-To: <4E3B08F0.2000400@officechristmas.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: An implementation of a short syntax for closures From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! On 8/4/11 2:02 PM, Jezz Goodwin wrote: > Your argument goes back to whether or not PHP should have short-hand > lambdas in general. It's looking like the majority of people think it > shouldn't. And really, PHP doesn't need more cryptic syntax. There are many things that PHP does need (like people fixing unit tests, though I know it's not as fun as discussing new cryptic syntax ;) but new cryptic syntax wouldn't really allow to do anything that can't be done right now. And saving keystrokes is not really big preference, especially for language like PHP. One should be spending much more time reading code and thinking about it than typing it anyway :) -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227