[swift-evolution] [Idea] Passing an Array to Variadic Functions

Tino Heth 2th at gmx.de
Mon Apr 18 09:32:27 CDT 2016


> Why not remove varargs altogether from Swift, it is easy enough to put [] round a list?
+1
I think it's much less useful than tuple-splat, Swifts array-syntax is very lightweight and "…" adds complexity that is rarely needed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160418/7c7dfd15/attachment.html>


More information about the swift-evolution mailing list