dukeofgaming wrote:
I'm not saying PHP should copy Ruby's rules, please don't imply that.
Sorry - all I was trying to point out that even Ruby seems to be as inconsistent as everywhere else in this area.

Personally I don't like the idea of add 'yet another' way of doing things.
=> is a consistent way of working in PHP. anything JSON related need to be checked against the more restricted JSON rules there, so 'hiding' that inside the more general parsing just seems wrong? There are enough areas where you can do the same thing several ways all of which are write, but which make other users reading of the code more difficult.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to