
May 11, 2013
11:55 p.m.
Ian Cordasco wrote:
On Sat, May 11, 2013 at 2:52 PM, Mark Janssen <dreamingforward@gmail.com> wrote:
It partitions the conceptual space. "+" is a mathematical operator, but strings are not numbers.
But + is already a supported operation on strings
I still think about these two kinds of concatenation in different ways, though. When I use implicit concatenation, I don't think in terms of taking two strings and joining them together. I'm just writing a single string literal that happens to span two source lines. I believe that distinguishing them visually helps readability. Using + for both makes things look more complicated than they really are. -- Greg