Re: coding standards - draft
| From: | Gabor Hojtsy | Date: | Fri, 28 Dec 2001 18:27:54 +0000 |
| Subject: | Re: coding standards - draft | ||
| References: | 1 2 3 4 5 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969340429@lists.php.net to get a copy of this message | ||
> > > > concatenation makes code unreadable
> > > I disagree on that. I think strinc concatenation makes the code more
> > > readble, because of the face, that what a variable is is clearly
> > > separated from what the string is.
> > >
> > > echo "bar is $bar";
> > > vs.
> > > echo 'bar is '.$bar;
> I hope my readbility opinion remains vaild ;)
Not for me sorry ;) I prefer the vars inside strings.
Goba