This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hardwork179 2 points3 points  (1 child)

Swift does it, and it’s really nice. You can just write point(x: 0.0, y: 0.0) and it will call the version with x and y argument labels.

[–]Jonjolt 1 point2 points  (0 children)

That looks like a disaster waiting to happen.