On Jun 1, 2011, at 7:30 AM, Ilia Alshanetsky wrote: > On Wed, Jun 1, 2011 at 4:27 PM, Sean Coates <s...@seancoates.com> wrote: >> This discussion seems to lack real-world examples… >> >> Derick wrote: >>> I'm still -1 on it. It makes absolutely unreadable code (yes, also in >>> JavaScript with f.e. MongoDB). >> >> >> Here's an actual snippet from my production code (which interfaces with >> ElasticSearch): >> http://paste.roguecoders.com/p/0747f2363c228a09e0ddd6f8ec52f2e8.html >> >> If you consider this readable, you're fare more literate than I will ever be >> (-: > > 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php