Re: coding standards - draft

From: Date: Fri, 28 Dec 2001 17:56:12 +0000
Subject: Re: coding standards - draft
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340424@lists.php.net to get a copy of this message
Hi, On Fri, 28 Dec 2001 18:36:22 +0100 "Gabor Hojtsy" <goba@php.net> wrote: > 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; additionaly in the first version $bar will be automagically transformed into a string, which is not nessecary. I vote for $array['index'].'string' for arrays. Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/

« previous php.doc (#969340424) next »