<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><span style="font-family:arial,sans-serif">On Mon, Dec 14, 2015 at 5:14 PM, Andrey Tarantsov </span><span dir="ltr" style="font-family:arial,sans-serif">&lt;<a href="mailto:andrey@tarantsov.com" target="_blank">andrey@tarantsov.com</a>&gt;</span><span style="font-family:arial,sans-serif"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><blockquote type="cite"><div><div dir="ltr"><div style="font-family:verdana,sans-serif">2) using &#39; means that the string contents are unescaped/raw</div></div></div></blockquote><div><br></div></span>I wonder if that&#39;s too subtle. Like Chris, I would prefer advanced knobs to be (i) more distinctive than &#39; vs &quot;, and possibly (ii) only attached to the advanced string type.</div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">Anyone coming from ruby would feel right at home, but i&#39;m having trouble finding precedent in any other language for that behavior. You may be right.</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>Ideally, a tab character would be a syntax error in Swift, period. Eat it, Go.</div><div><br></div><div>More realistically, you want to issue a syntax error if all non-empty lines don&#39;t share a common whitespace prefix that entirely covers at least one of the whitespace prefixes.</div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">​I don&#39;t think it&#39;s the language&#39;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.</div><br></div><div> </div><div><div class="gmail_default" style="font-family:verdana,sans-serif">​-Travis Tilley</div><div class="gmail_default" style="font-family:verdana,sans-serif">​</div><br></div></div>
</div></div>