Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52680 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26143 invoked from network); 1 Jun 2011 14:37:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2011 14:37:27 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 74.125.83.170 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 74.125.83.170 mail-pv0-f170.google.com Received: from [74.125.83.170] ([74.125.83.170:33747] helo=mail-pv0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/A4-32367-5AE46ED4 for ; Wed, 01 Jun 2011 10:37:26 -0400 Received: by pvh21 with SMTP id 21so2737388pvh.29 for ; Wed, 01 Jun 2011 07:37:22 -0700 (PDT) Received: by 10.68.63.105 with SMTP id f9mr3126282pbs.125.1306939042843; Wed, 01 Jun 2011 07:37:22 -0700 (PDT) Received: from c-24-19-164-241.hsd1.wa.comcast.net (c-24-19-164-241.hsd1.wa.comcast.net [24.19.164.241]) by mx.google.com with ESMTPS id b8sm1126656pbj.14.2011.06.01.07.37.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 07:37:22 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 In-Reply-To: Date: Wed, 1 Jun 2011 07:37:20 -0700 Cc: Sean Coates , Derick Rethans , Gustavo Lopes , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <94183529-D0B3-44B0-8AC8-CC229438F58D@roshambo.org> References: <3C4EC449-1013-4ED6-9113-F37FAEBD0566@seancoates.com> To: Ilia Alshanetsky X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] Re: RFC: Short syntax for Arrays (redux) From: philip@roshambo.org (Philip Olson) On Jun 1, 2011, at 7:30 AM, Ilia Alshanetsky wrote: > 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 ;-) Maybe that could be a contest. Who can make this the prettiest, using = either a proposed or current syntax. :) Regards, Philip=