Named constructors

Steven Schveighoffer schveiguy at gmail.com
Mon Jan 14 20:59:11 UTC 2019


On 1/14/19 3:05 PM, Jacob Carlborg wrote:
> On 2019-01-14 15:31, aliak wrote:
> 
>> Swift. Named arguments. Overloading. Executed perfectly IMO:
> 
> Technically it's not function overloading. The functions have separate 
> names, the parameter keys are part of the name. That's at least how it 
> works in Objective-C.
> 

I was going to say that, but I feel like possibliy in my dealings with 
Swift (which isn't huge), it may have had more abilities for overloading 
than objective-C.

-Steve


More information about the Digitalmars-d mailing list