Ideally what I personally really want is something like in python:

template = ("This is the first line.\n"
            "This is the second line.\n"
            "This is the third line.")


-- 
Adrian Zubarev
Sent with Airmail

Am 3. April 2017 um 16:44:24, Adrian Zubarev (adrian.zuba...@devandartist.com) 
schrieb:

IMHO this is what multi-lined strings are meant for in first place, for better 
code readability without precision tradeoffs. You’re not expecting multi-lined 
chained methods to do something else as they’re meant for. We’re allowing multi 
lines there for readability not for more functionality.

That’s why I disagree that multi-line strings should add new lines 
automatically to the string.



-- 
Adrian Zubarev
Sent with Airmail

Am 3. April 2017 um 16:33:05, Ricardo Parada (rpar...@mac.com) schrieb:

let veryLongString2 = "word word word" +
"word word word" +
  "word word word"

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to