[swift-evolution] [swift-evolution-announce] [Review] Naming Functions with Argument Labels

Paul Cantrell cantrell at pobox.com
Wed Jan 13 23:04:00 CST 2016


Without posting a full review, I’ll just drop a note in favor of the proposed syntax (underscores for anonymous args, colons, no commas, typically formatted with no spaces). This is exactly what we settled on more or less by default when adding robust autolinking to Jazzy:

https://github.com/realm/jazzy/issues/328#issuecomment-152064809 <https://github.com/realm/jazzy/issues/328#issuecomment-152064809>

This syntax is already widely used enough that I considered it an already established informal Swift standard at the time, and I’m not aware of any complaints about it from Jazzy users.

Cheers, P

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160113/38ac6983/attachment.html>


More information about the swift-evolution mailing list