Python array syntax in PHP

Dave Benjamin ramen at lackingtalent.com
Thu Nov 13 03:45:12 CET 2003


There was a recent proposal on the PHP-DEV list to add a syntax similar to
Python's for arrays (in PHP, arrays serve as both lists and dictionaries,
though usually not at the same time. ;) Though several of the language
developers were marginally positive about the idea, I found it interesting
how much of a controversy ensued.

http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=bo9cvn%242cut%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1&prev=/groups%3Fdq%3D%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Dbo9cvn%25242cut%25241%2540FreeBSD.csie.NCTU.edu.tw%26prev%3D/groups%253Fq%253Dg:thl151192782d%2526dq%253D%2526hl%253Den%2526lr%253D%2526ie%253DUTF-8%2526oe%253DUTF-8%2526selm%253Dbo9cvn%2525242cut%2525241%252540FreeBSD.csie.NCTU.edu.tw

I'm really starting to think that much of a given language's style is
arbitrary; the rationalizations come later, once the fear of change sets
in.

-- 
.:[ dave benjamin (ramenboy) -:- www.ramenfest.com -:- www.3dex.com ]:.
: d r i n k i n g   l i f e   o u t   o f   t h e   c o n t a i n e r :




More information about the Python-list mailing list