Re[2]: [PEAR-QA] String values CS Coding Standards
| From: | anatoly techtonik | Date: | Wed, 19 Jan 2005 18:25:32 +0000 |
| Subject: | Re[2]: [PEAR-QA] String values CS Coding Standards | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2347@lists.php.net to get a copy of this message | ||
Hello Alan,
AK> the speed issue between ' and " should have been pretty much removed
AK> now, even though I've been using it for a long while, I'd be tempted to
AK> suggest starting to follow other language standards:
AK> eg.
AK> 'x' for single characters
AK> "long strings" enclosed in double quotes.
+1
Just leave authors to decide their style and correct these " to ' only
if package has a _serious_ speed bottlenecks because of such use at
particular place. Should it be present in "Optimization" chapter of
PEAR manual along with instructions how to run a benchmark?
t
--