[swift-evolution] [Pitch] Enforce argument order for defaulted parameters

Andrey Tarantsov andrey at tarantsov.com
Wed Mar 30 22:23:42 CDT 2016


> I personally like it because I consider the defaulted parameters to be “extra add-ons” or the alternative to a “userInfo: [String: AnyObject]” pattern.
> 
> I’d vote to leave things as-is unless it imposes a significant maintenance cost on the compiler.

Strong +1. Please leave it be, it's a useful feature in a small but important subset of cases.

A.



More information about the swift-evolution mailing list