+1 to Tino's concern. This seems like something better suited for a formal newtype style feature.
Austin > On Apr 20, 2016, at 10:47 AM, Tino Heth via swift-evolution > <[email protected]> wrote: > > I think it's good that the labels aren't enforced: > This would sacrifice flexibility, and force us to write unnecessary > boilerplate to "translate" labels (one library might use (height, width), and > another (h, w) to express the same concept…) > > But: Objective-C had no tuples, so a final decision shouldn't happen until > there is an agreement on best-practices for them... > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
