Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38085 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23787 invoked from network); 2 Jun 2008 19:45:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2008 19:45:27 -0000 Received: from [127.0.0.1] ([127.0.0.1:20621]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 83/86-26717-7DD44484 for ; Mon, 02 Jun 2008 15:45:27 -0400 X-Host-Fingerprint: 200.150.147.21 unknown Received: from [200.150.147.21] ([200.150.147.21:8421] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/95-26717-2E944484 for ; Mon, 02 Jun 2008 15:28:35 -0400 Message-ID: <7F.95.26717.2E944484@pb1.pair.com> To: internals@lists.php.net Date: Mon, 02 Jun 2008 16:30:13 -0300 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 References: <0412F6FE505049F7901EAB8C61774839@pc> <1212087326.20983.22.camel@goldfinger.johannes.nop> <1212097521.2979.11.camel@goldfinger.johannes.nop> <50.44.55660.02A20484@pb1.pair.com> <1212236851.8837.0.camel@localhost> <48417202.9040507@gmail.com> In-Reply-To: <48417202.9040507@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 200.150.147.21 Subject: Re: [PHP-DEV] Re: Short syntax for array literals [...] From: rodrigo.saboya@bolsademulher.com (Rodrigo Saboya) Hi, I've been reading internals for a while and after reading some messages in this specific topic (Short syntax for array literals) I decided to give some userland input here as it seems it's somewhat a rare ocurrence in this list. If I had to guess, I'd say most people don't consider themselves worthy to send input because they lack the knowledge to do so, being an userland developer and not knowing a single line of code of the PHP core (that's the reason I merely read this list instead of contributing). I feel like nothing I have to say will help in any way, insted it will only clutter the list. Regarding this topic, I'd be happy to see this feature in the language as I feel much more comfortable writing $var = [ 1, 2, 3 ]; than $var = array(1, 2, 3); While I understand the concerns about readability and how this code will look for the newcomers, I consider this syntax very natural and it doesn't break backwards compatibility as it doesn't replaces the old syntax, simply adds a new one. I'll be contributing with my input as userland developer from now on if it seems fit. regards Rodrigo Saboya Sebastian Deutsch escreveu: > Hello Lars, > > for an ambitious userland developer it is not very easy to follow this > list and even join the > discussions (though I think it's worth). > > Maybe there should be a point where some discussions from internals > should be taken to lang - better > not this one, I don't want to fuel the fire again - but some discussions > really should. > > But this is a matter of process, especially extracting the results and > save it at a place that is more accessible > and persistent than the mailing list archives. This process should not > imply that what's proposed there > should be realised - in the end the core developers have to make the > final decision. This process should be > an decision helper for all core developers who are undecided. > > Sebastian > > Lars Strojny schrieb: >> Hi Sebastian, >> >> Am Freitag, den 30.05.2008, 18:23 +0200 schrieb Sebastian Deutsch: >> [...] >> >>> Nonetheless I feel that the userland is less represented on the >>> internals list - do you have a proposal to hear their voice? >>> >> >> Well, they can subscribe, can't they? >> http://www.php.net/mailing-lists.php >> >> cu, Lars >> > >