News for hackers. Stuff that matters.
Re:A proposal for named arguments for C++ by chingjun on Thursday October 16, 2014 @07:38AM (#8464384)
Swift has named arguments, and it's called "external parameter name". Here's an example taken from Apple's documentation[1].

  func join(string s1: String, toString s2: String, withJoiner joiner: String)
      -> String {
          return s1 + joiner + s2
  }
  join(string: "hello", toString: "world", withJoiner: ", ")
  // returns "hello, world"
[1]: https://developer.apple.com/library/ios/documentation/swift/...

There are no comments on this comment yet.