On Wed, Feb 8, 2012 at 9:58 AM, Larry Garfield <la...@garfieldtech.com> wrote:
> Drupal's coding standards encourage the extra trailing comma on multi-line
> arrays, for all the readability and editability benefits that others have
> mentioned.  We have for years.  Cool stuff. :-)

Yah, I love that syntax guideline/rule in Python (tuples and other
things). I will definitely start doing this in PHP for arrays.

I am just surprised that there wasn't an older version of PHP that did
not allow this... I must have picked up this habit via my JS coding
knowledge. :D

Thanks again all!

Cheers,
Micky

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to