+1

As I said, we have been using NSLog and StringWithFormat: for many years, and I 
think most people don't have any difficulty understanding how a variadic 
function work. 

If we removed this feature, existing APIs would break. I don't think we should 
be afraid of breaking old code. However, no one convinced me that variadic 
functions are as bad as ++ operators that worth removing it. 

Justin

> On Apr 19, 2016, at 9:34 AM, Jeremy Pereira <[email protected]> 
> wrote:
> 
> 
>> On 19 Apr 2016, at 07:51, Haravikk via swift-evolution 
>> <[email protected]> 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.
> 
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to