Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52681 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34379 invoked from network); 1 Jun 2011 15:00:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2011 15:00:21 -0000 Authentication-Results: pb1.pair.com header.from=justin@justincarmony.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=justin@justincarmony.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain justincarmony.com from 209.85.210.42 cause and error) X-PHP-List-Original-Sender: justin@justincarmony.com X-Host-Fingerprint: 209.85.210.42 mail-pz0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:42482] helo=mail-pz0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/36-32367-30456ED4 for ; Wed, 01 Jun 2011 11:00:20 -0400 Received: by pzk37 with SMTP id 37so2745201pzk.29 for ; Wed, 01 Jun 2011 08:00:14 -0700 (PDT) Received: by 10.68.27.100 with SMTP id s4mr3198642pbg.491.1306940414027; Wed, 01 Jun 2011 08:00:14 -0700 (PDT) Received: from [192.168.1.101] (c-24-10-180-216.hsd1.ut.comcast.net [24.10.180.216]) by mx.google.com with ESMTPS id p5sm1135228pbd.76.2011.06.01.08.00.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 08:00:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 In-Reply-To: <94183529-D0B3-44B0-8AC8-CC229438F58D@roshambo.org> Date: Wed, 1 Jun 2011 09:00:09 -0600 Cc: Ilia Alshanetsky , Sean Coates , Derick Rethans , Gustavo Lopes , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <3C4EC449-1013-4ED6-9113-F37FAEBD0566@seancoates.com> <94183529-D0B3-44B0-8AC8-CC229438F58D@roshambo.org> To: Philip Olson X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] Re: RFC: Short syntax for Arrays (redux) From: justin@justincarmony.com (Justin Carmony) In all seriousness, there is a vast majority of PHP developers who are = not represented on this list. I was surprised to see someone mentioning = for calling for another vote so soon after this discussion came up. = Perhaps instead of debating on readability and usefulness, we actually = do some research with major PHP users to get their opinions? I'm not = saying we should have every PHP user in the world vote, but there are = talented PHP developers who are not apart of the core that have valid = and insightful views and opinions. So what I would first propose is we finalize the RFC because right now = it is has two options, and doesn't deal with objects. I think everyone = is starting to agree "=3D>" is much more uniform than ":", so lets drop = the ":" from the RFC.=20 Then, lets request some feedback from reputable PHP developers, like = authors of popular frameworks and PHP solutions. This way we can get = some real input from people who are not on the internals email list. = This can help those who make the decision on whether or not to accept = the RFC aware not only of their own personal opinion and preferences, = but the opinions and preferences of the PHP community as a whole. I know I'm newer to the list, and don't want to step on any toes, but I = think the RFC process could really benefit from getting this type of = feedback. Justin Carmony On Jun 1, 2011, at 8:37 AM, Philip Olson wrote: >=20 > On Jun 1, 2011, at 7:30 AM, Ilia Alshanetsky wrote: >=20 >> On Wed, Jun 1, 2011 at 4:27 PM, Sean Coates = wrote: >>> This discussion seems to lack real-world examples=85 >>>=20 >>> Derick wrote: >>>> I'm still -1 on it. It makes absolutely unreadable code (yes, also = in >>>> JavaScript with f.e. MongoDB). >>>=20 >>>=20 >>> Here's an actual snippet from my production code (which interfaces = with ElasticSearch): >>> http://paste.roguecoders.com/p/0747f2363c228a09e0ddd6f8ec52f2e8.html >>>=20 >>> If you consider this readable, you're fare more literate than I will = ever be (-: >>=20 >> Using JSON syntax would only "maybe" make it more readable, and then >> only because you would probably not format it on so many lines ;-) >=20 > Maybe that could be a contest. Who can make this the prettiest, using = either a proposed or current syntax. :) >=20 > Regards, > Philip > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20