[swift-evolution] multi-line string literals
andrey at tarantsov.com
Mon Dec 14 16:37:18 CST 2015
> I don't think it's the language's job to enforce preferences here, especially given that holy wars have been fought over indentation (as well as things much less important)
> Having 3 lines all started by the same number of tabs, but with two having spaces as well for sub-tab-length indentation, should never be an error.
But to be clear, that wouldn't be an error in my proposed rule, which is, again (I wish I knew how to say this in a simpler way):
> you want to issue a syntax error if all non-empty lines don't share a common whitespace prefix that entirely covers at least one of the whitespace prefixes.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution