<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Dec 11, 2015, at 8:52 AM, John Siracusa via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><div class=""><div dir="ltr" class=""><div class="">Chris Lattner wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">When introducing a feature like this, I think it would be useful to survey a range of popular languages (and yes, even perl ;-) to understand what facilities they provide and why (i.e. what problems they are solving) and synthesize a good swift design that can solve the same problems with a hopefully simple approach.</blockquote><div class=""><br class=""></div><div class="">Travis Tilley wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">​Perl and Erlang are unique in that valid code in either language looks essentially like line noise. I'd rather take inspiration from languages like ruby, python, and elixir.​</blockquote><div class=""><br class=""></div><div class=""><div class="">Jokes aside, the ability to choose delimiters for strings and other language constructs that surround some value is a huge boon to code readability.</div></div></div></div></blockquote><div><br class=""></div>I agree.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">My take: once you use a language where you pretty much never have to backslash-escape a character you can easily type to get it into a string, it's really hard to go back.&nbsp;</div></div></div></div></blockquote></div><div><br class=""></div><div>In all seriousness, Perl is one of the best languages in the world at text and string processing, and Swift has a lot to learn from it and its community on this topic. &nbsp;For anyone looking to work on string processing (including string literals and regex's), Perl is really the best game in town. &nbsp;We have a long ways to go at the moment, but Swift should aspire to be *better* than Perl at string processing and manipulation - comparing to other languages may be interesting but the baseline should be set by Perl.</div><div class=""><br class=""></div><div class="">OTOH, there are some other things that Perl isn’t good at - like shipping on schedule. &nbsp;Let’s not aspire to following its approach there… &nbsp;:-)</div><div class=""><br class=""></div><div class="">-Chris</div></body></html>