My personal feel about this is that yes, short arrays are not bad, but
things like

$a = new A;
$a[array()];

just scare the crap of me when I see them. To me PHP is easy on syntax
and it's good. When I see Ruby or Python code with all it's crazy
magic I feel sick. Still one day I will have to learn one, but that
doesn't mean PHP should go that way too (i'm not alien to system
languages, I had some practice with Pascal, Delphi & C some years ago,
just wanted to go the WEB path so migrated to PHP).

If it's not too much, it would be good to avoid such strange
constructs at all, because people are mean and they tend to do bad
things in code.

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

Reply via email to