[swift-evolution] [Discussion] Enforce argument labels on tuples

Tino Heth 2th at gmx.de
Wed Apr 20 12:47:00 CDT 2016


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...


More information about the swift-evolution mailing list