News for hackers. Stuff that matters.
Re:Swift – observations from Rust’s original designer by mercutio2 on Tuesday June 03, 2014 @01:41AM (#7838327)
> and there doesn't seem to be a way to define optional method parameters

Did you miss the part about default values?

If you're calling an Objective-C selector with more than one argument, you are indeed using an external parameter name, but external parameters are explicitly not required if you're writing pure Swift.

https://developer.apple.com/library/prerelease/ios/documenta...

Re:Swift – observations from Rust’s original designer by kennywinker on Wednesday June 04, 2014 @06:28PM (#7848819)
Oh cool, I definitely missed that!