Re: String values CS Coding Standards
| From: | Martin Jansen | Date: | Sat, 22 Jan 2005 12:57:00 +0000 |
| Subject: | Re: String values CS Coding Standards | ||
| References: | 1 2 3 4 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2368@lists.php.net to get a copy of this message | ||
On Sat Jan 22, 2005 at 01:0509PM +0100, bertrand Gugger wrote:
> Hi Martin Jansen, you wrote:
> >On Wed Jan 19, 2005 at 09:2040AM +0800, Alan Knowles wrote:
> >>"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.
>
> I don't really understand consistant, here.
> Do you mean only single or double within one pckg ?
If the original author of a package has exclusively used either double
or single quotes, then future additions to the code should stick to
this style. That's consistency in my book.
> I want both for fixed contents and expanded ones.
I don't understand that.
- Martin