<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:27 PM, Travis Tilley </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:ttilley@gmail.com" target="_blank">ttilley@gmail.com</a>></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 dir="ltr"><span class=""><div 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"><<a href="mailto:andrey@tarantsov.com" target="_blank">andrey@tarantsov.com</a>></span><span style="font-family:arial,sans-serif"> wrote:</span><br></div></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><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><blockquote type="cite"><div><div dir="ltr"><div style="font-family:verdana,sans-serif">2) using ' means that the string contents are unescaped/raw</div></div></div></blockquote><div><br></div></span>I wonder if that's too subtle. Like Chris, I would prefer advanced knobs to be (i) more distinctive than ' vs ", and possibly (ii) only attached to the advanced string type.</div></div></blockquote><div><br></div></span><div><div style="font-family:verdana,sans-serif">Anyone coming from ruby would feel right at home, but i'm having trouble finding precedent in any other language for that behavior. You may be right.</div></div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">Then again, similar behavior in python (prefixing a string with r to qualify it as a 'raw' string) would be completely unintuitive because backslash behavior is... weird. For example, r"\" is not a valid string. You can't have a string that's just a backslash just in case it can be processed as an escape even though raw strings aren't supposed to process escapes. Some other things are weird... So having blanket "yes, it's really raw" behavior -might- be unintuitive for people coming from python.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">BUT... And this is a massive but... It -would- tie into the discussion that currently exists for typed literals (something i'm currently mostly ignorant of and would love to hear more about). Especially since it would put the qualifier in front of the literal.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div></div><div class="gmail_signature"><div dir="ltr"><br></div><div dir="ltr"><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>