<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Ahh, yeah, that does seem like a much trickier case to avoid breaking. My instinct says it's still possible to avoid, but maybe not without lots of complexity.</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Jarod</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On Oct 12, 2017, 16:21 -0700, Xiaodi Wu <xiaodi.wu@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">On Thu, Oct 12, 2017 at 2:47 PM, Jarod Long via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br />
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">I don't really expect this sort of syntactic sugar to be popular enough to make it through swift-evolution, and I don't think it's worth the distraction from more important priorities at this time, but for what it's worth, I've enjoyed this feature in other languages that support it. It plays a small part in making code more focused by eliminating unnecessary syntax.
<div><br /></div>
<div>I could be wrong, but I'm not so sure that this would actually be source breaking. Even if you have something like this:</div>
<div><br /></div>
<div><font face="Monaco">let points = [</font></div>
<div><font face="Monaco">    Point(</font></div>
<div><font face="Monaco">        x: 1.0,</font></div>
<div><font face="Monaco">        y: 2.0</font></div>
<div><font face="Monaco">    ),</font></div>
<div><font face="Monaco">    Point(</font></div>
<div><font face="Monaco">        x: 3.0,</font></div>
<div><font face="Monaco">        y: 4.0</font></div>
<div><font face="Monaco">    )</font></div>
<div><font face="Monaco">]</font></div>
<div><br /></div>
<div>Proper implementation of this feature wouldn't suddenly interpret `Point(` as its own element.</div>
</div>
</div>
</blockquote>
<div><br /></div>
<div>There are those of us who respect the 80-character line and break expressions across lines:</div>
<div><br /></div>
<div>let x = [</div>
<div>  NSVeryVeryVeryLongType</div>
<div>    .veryVeryVeryLongProperty +</div>
<div>      NSVeryVeryVeryLongType2</div>
<div>        .veryVeryVeryLongProperty2,</div>
<div>]</div>
<div><br /></div>
<div>It would be a pleasant surprise if a grammar with optional commas can avoid blowing up existing code; I'm quite doubtful.<br /></div>
<div><br /></div>
<div><br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div>
<div>
<div class="gmail-h5">
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">On Oct 12, 2017, 12:23 -0700, Josh Parmenter via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;"><br />
<br />
On Oct 12, 2017, at 12:17 PM, Kelvin Ma via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><<wbr />mailto:<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.<wbr />org</a>>> wrote:<br />
<br />
a semicolon is a purely syntactic delimiter, the comma on the other hand corresponds to physical elements in a collection. I think the two are more different than you suggest.<br />
<br />
<br />
I very much agree^<br />
<br />
Josh<br />
<br />
<br />
<br />
Joshua Parmenter | Engineering Lead, Apple Technologies<br />
<br />
T <a href="tel:(248)%20777-7777" value="+12487777777" target="_blank">248 777 7777</a><br />
C <a href="tel:(206)%20437-1551" value="+12064371551" target="_blank">206 437 1551</a><br />
F <a href="tel:(248)%20616-1980" value="+12486161980" target="_blank">248 616 1980</a><br />
<a href="http://www.vectorform.com" target="_blank">www.vectorform.com</a><<a href="http://www.vectorform.com/" target="_blank">http://www.<wbr />vectorform.com/</a><br />
<br />
Vectorform<br />
2211 5th Ave Suite 201<br />
Seattle, WA 98121 USA<br />
<br />
Think Tank. Lab. Studio.<br />
We invent digital products and experiences.<br />
<br />
SEATTLE | DETROIT | NEW YORK | MUNICH | HYDERABAD<br />
______________________________<wbr />_________________<br />
swift-evolution mailing list<br />
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br />
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/<wbr />mailman/listinfo/swift-<wbr />evolution</a><br /></blockquote>
</div>
</div>
</div>
</div>
<br />
______________________________<wbr />_________________<br />
swift-evolution mailing list<br />
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br />
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr />mailman/listinfo/swift-<wbr />evolution</a><br />
<br /></blockquote>
</div>
<br /></div>
</div>
</blockquote>
</div>
</body>
</html>