[swift-evolution] When to use argument labels, part DEUX

Dave Abrahams dabrahams at apple.com
Sun Feb 7 09:50:18 CST 2016


on Sun Feb 07 2016, Matthew Judge <swift-evolution at swift.org> wrote:

>> On Feb 7, 2016, at 00:31, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> 
>>> on Sat Feb 06 2016, plx <swift-evolution at swift.org> wrote:
>>> 

<schnipp>

>>> Taking it from the other direction, the way the guidelines are phrased
>>> I worry bit that you wind up with:
>>> 
>>> // not intended
>>> a.add(subview: v) (or add(v)) // instead of `a.addSubview(v)`
>> 
>> That's allowed as the guidelines were originally posted, but with the
>> modification to the guidelines that form B1 is to be preferred over form
>> B2 when both are allowed... which I swore I posted something about in
>> this thread in response to an excellent point someone made, but now
>> can't find.  
>> 
>> Maybe I dreamt it; until I hear otherwise, *you* get credit for making
>> the excellent point :-)
>
> It was in response to my email, which I accidentally replied back only
> to you and not the list, so I'm the only one who saw your proposed
> modification. (Unfortunately I noticed that the list was not there
> after I replied a couple more times as well.)

Gah!  Well if you'd like to post those messages here, you certainly have
my permission.  It might be good to have them as part of the public
record.

-- 
-Dave



More information about the swift-evolution mailing list