[swift-evolution] [Draft] Allow trailing commas in argument lists
Антон Жилин
antonyzhilin at gmail.com
Tue Mar 15 06:05:34 CDT 2016
-1
Trailing commas look urgly to me. We should not just borrow everything from
C-family. I believe, there is a better way out.
Separation by whitespace, on the other hand, seems interesting:
sayHello(to: "John" and: "Jack")
Can be used for multiline calls, as well as dense argument passing:
[1 2 3 4 5]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160315/b04368e2/attachment.html>
More information about the swift-evolution
mailing list