<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">[Due to popular demand ;-) in the discussion of&nbsp;<span style="font-family: 'Helvetica Neue';" class="">SE-0084: Allow trailing commas in parameter lists and tuples]</span><div class=""><br class=""></div><div class=""><font face="Helvetica Neue" class="">The option to skip semicolons for statements followed by a newline is only a tiny convinience, yet it is one of the most favored differences to C (and one of the most annoying things to remember when you have to switch from Swift to do some coding in Objective-C).<br class="">While lists of statements don't need a special separator character anymore, other lists still rely on commas to separate items:<br class="">- method parameters<br class="">- array and dictionary literals<br class=""></font></div><div class=""><font face="Helvetica Neue" class="">- tuples</font></div><div class=""><font face="Helvetica Neue" class="">[anything else?]</font></div><div class=""><font face="Helvetica Neue" class=""><br class=""></font></div><div class=""><font face="Helvetica Neue" class="">SE-0084 targets to make it easier to reorder list elements by allowing an additional comma after the last element; afaics, the same can be achieved by making all of those commas optional, as long as there is a newline to separate the next item (without those&nbsp;newlines, SE-0084 makes less sense as well).</font></div><div class=""><font face="Helvetica Neue" class=""><br class=""></font></div><div class=""><font face="Helvetica Neue" class="">This change is not incompatible with SE-0084, but imho it doesn't make much sense to combine those features (at least&nbsp;</font><span style="font-family: 'Helvetica Neue';" class="">in actual source code).</span></div><div class=""><font face="Helvetica Neue" class=""><br class=""></font></div><div class=""><font face="Helvetica Neue" class="">So, first question:</font></div><div class=""><font face="Helvetica Neue" class="">What are the downsides of this change? (question zero is "are there any other places where comma-separeted lists could be turned into newline-separated lists?"...)</font></div><div class=""><font face="Helvetica Neue" class=""><br class=""></font></div><div class=""><font face="Helvetica Neue" class="">Tino</font></div><div class=""><font face="Helvetica Neue" class=""><br class=""></font></div></body></html>