[PEPr] Comment on RFC::Coding standard enhancements
| From: | Chuck Burgess | Date: | Wed, 12 Mar 2008 13:59:47 +0000 |
| Subject: | [PEPr] Comment on RFC::Coding standard enhancements | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49401@lists.php.net to get a copy of this message | ||
Chuck Burgess (http://pear.php.net/user/ashnazg) has commented on the proposal for RFC::Coding
standard enhancements.
Comment:
Now that it's been highlighted, I have to agree on the trailing comma idea
for arrays. I've had originally been surprised by PHP's parser allowing
this rather than considering a syntax error like other languages would, and
it does indeed ease temporary commenting-out of individual lines without
causing syntax errors.
For years I've been in the habit of dropping my commas to the beginning of
the next line, specifically because of this, more often with SQL editing.
Too bad this can't help me in that respect ;)
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=538
--
Sent by PEPr, the automatic proposal system at http://pear.php.net