Re: String values CS Coding Standards
| From: | Martin Jansen | Date: | Sat, 22 Jan 2005 10:37:24 +0000 |
| Subject: | Re: String values CS Coding Standards | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2366@lists.php.net to get a copy of this message | ||
On Wed Jan 19, 2005 at 09:2040AM +0800, Alan Knowles wrote:
> the speed issue between ' and " should have been pretty much removed
> now, even though I've been using it for a long while, I'd be tempted to
> suggest starting to follow other language standards:
> eg.
> 'x' for single characters
> "long strings" enclosed in double quotes.
If the performance impact is negligent, then why not "allow" both
formats? Only the usage should be conistent throughout a package
then.
- Martin