Re: Proposal: Array syntax

From: Date: Wed, 05 Nov 2003 18:39:29 +0000
Subject: Re: Proposal: Array syntax
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-5263@lists.php.net to get a copy of this message
On Wed, 05 Nov 2003, Ford, Mike [LSS] wrote: > On 05 November 2003 16:48, Ilia Alshanetsky contributed these pearls of > wisdom: > > > I mean c'mon, is 5 characters that much of a problem and is > > absolute code clarity not worth those 5 characters? Character > > efficiency is done in Perl, where you can do things like ~= > > and @_, but that makes Perl code naturally obfuscated and I do > > not think that's a good way to go. > > I don't think the number of characters is the main issue here -- it's about > having a *nicer* set of characters. Personally, I'd be still be in favour > (although not quite as much) if the proposed syntax were [[[1,2,3]]] -- for > me, it's about having a syntax that shouts *ARRAY* rather than whispers it. And array() steps too softly for you? - Andrei

« previous php.internals (#5263) next »