Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10353 invoked from network); 4 Aug 2011 20:53:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2011 20:53:42 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:53531] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/30-08937-5D60B3E4 for ; Thu, 04 Aug 2011 16:53:42 -0400 Received: from [192.168.2.230] (ppp-93-104-47-108.dynamic.mnet-online.de [93.104.47.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id F09F3775FA; Thu, 4 Aug 2011 22:53:37 +0200 (CEST) To: Jezz Goodwin Cc: internals@lists.php.net In-Reply-To: <4E3AFE62.3080200@officechristmas.co.uk> References: <4E3AF896.2090106@officechristmas.co.uk> <4E3AFE62.3080200@officechristmas.co.uk> Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Aug 2011 22:53:36 +0200 Message-ID: <1312491216.1541.35.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: An implementation of a short syntax for closures From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2011-08-04 at 21:17 +0100, Jezz Goodwin wrote: > :($x)=>$x+1; ":(" looks quite sad. I also assume you know that : is a division. In a more complex situation this might, on first sight, be mistaken as a division by $x or such. Mind that a line of code typically is read way more often than written. Readability matters. PHP in many areas makes a good thing by having keywords here and there. johannes