[swift-evolution] Pitch: Compound name `foo(:)` for nullary functions

David Sweeris davesweeris at mac.com
Wed Feb 22 16:04:41 CST 2017


> On Feb 22, 2017, at 1:59 PM, David Sweeris via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> On Feb 22, 2017, at 12:27 PM, Jacob Bandes-Storch <jtbandes at gmail.com> wrote:
>> 
>> Just to throw out some other options: foo(#) and foo(@). 
>> 
>> (And you thought we'd gotten rid of # argument labels! 😉)
> 
> Between the two, I’d prefer “foo(#)”, but I don’t think either are very intuitive.

Although come to think of it, neither are either of my suggestions.

- Dave Sweeris


More information about the swift-evolution mailing list