[swift-evolution] [Review] SE-0084: Allow trailing commas in parameter lists and tuples
matthew at anandabits.com
Fri May 13 08:32:56 CDT 2016
I am, +1 on allowing new lines instead of commas. I suggest you pursue a proposal on that.
I am also +1 on the current proposal because it exists and will be pretty useful in some cases and I can't predict how long it might be until such a new line proposal would be approved. I also think that the choice between them should be a style choice, not one made by the language (as with semicolon) and if anyone chooses commas they should have the utility of the current proposal available to them.
Sent from my iPad
> On May 13, 2016, at 1:24 AM, Vladimir.S via swift-evolution <swift-evolution at swift.org> wrote:
> IMO If we were *really* concerned about this, we should just allow line-break as separator in comma-separated lists.
>> On 13.05.2016 8:01, Chris Lattner via swift-evolution wrote:
>> If we were really concerned about this, a narrower way to solve the same problem would be to allow a comma before the ), but *only* when there is a newline between them. I still don’t see why we’d want to encourage this though.
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution