> -----Original Message----- > From: Paul M Foster [mailto:pa...@quillandmouse.com] > Sent: Saturday, June 12, 2010 10:40 PM > > this in PHP. I can convert from '.' to '+' (as in most > languages) in my > mind, but embedding variables in strings was a harder habit > to break. My > opinion is that the dot operator used this way was a mistake for > PHP. Not using the dot operator to mean "concatenate" would mean we > could use it to replace the accursed '->' for class/method selection. > And the plus operator is obviously a more natural fit for string > concatenation. > > And yes, if you're going to use the dot operator, surround it with > spaces for readability.