Andreas Korthaus wrote:
> OK, but by dropping {} for strings you also remove the possibility to
> have a convention like "[] for arrays and {} for strings".
> If I could decide I would drop {} for arrays and [] for strings, but I
> fear I will not be asked to decide... ;-)

You may think that {} and [] are different, but in reality same code
deals with both. Having two constructs for the same behavior is silly
and leads to confusing, hard to read code. Especially so when you
consider the fact {} has another meaning that is completely different.

Ilia

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

Reply via email to