[swift-evolution] [swift-evolution-announce] [Review] SE-0044 Import as Member
brent at architechies.com
Tue Mar 22 23:30:34 CDT 2016
> float Point3DGetPointAtIndex(int idx, Point3D point)
> void Point3DSetPointAtIndex(int idx, Point3D point, float val)
I think this is the best option. Subscripts can have multiple parameters, including parameter labels, so you need the full range of expressiveness, including `_`, to correctly represent them. `newValue`'s name is technically changeable, but it almost never actually *is* changed, and everyone will understand what it refers to.
More information about the swift-evolution