[swift-evolution] [Idea] Passing an Array to Variadic Functions
jeremy.j.pereira at googlemail.com
Tue Apr 19 11:34:57 CDT 2016
> On 19 Apr 2016, at 07:51, Haravikk via swift-evolution <swift-evolution at swift.org> wrote:
> I think the question really is whether not having to add square brackets is really enough to justify a whole language feature? Basically you’ve got two ways you could do this:
No, that’s not the question. The question is whether the downside to variadic parameters is really enough to justify _removing_ an existing language feature.
The burden of justification should be on those people wanting to change the language, not on those wanting to maintain the status quo and “I don’t like it” or “I think it makes code a tiny bit less readable” is not sufficient justification, in my opinion because you already have the option not to use the feature. Whereas, if you remove the feature, those people of the opinion “it makes code a tiny bit more readable” have nowhere to go.
More information about the swift-evolution