> >    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.

In the second version, you used the . operator, which also
automagically transforms $bar into a string for that operation,
there is no difference between the two in this aspect, echo
needs string[s] to print out. :) We'll see what others think...

Goba


Reply via email to