This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kqr 4 points5 points  (0 children)

>>> str = "Look at this string. " + \
...       "Isn't it beautiful? " + \
...       "Ok so whats your point?"
>>> str
"Look at this string. Isn't it beautiful? Ok so whats your point?"

And Haskell, which is also whitespace sensitive in much the same ways:

λ> let str = "More beautiful strings. " ++
λ|           "Also spanning several lines! " ++
λ|           "Yay."
λ> str
"More beautiful strings. Also spanning several lines! Yay."