Swift Colon Care
Since I started programming in Swift, I moved to the “Ash Rule” of left-hugging colons in all uses except ternary, up to and including dictionary references, protocols, etc.
[…]
Dave Abrahams clarified StdLib style on the Swift Evolution list today:
- Full monty spaces for declarations and extensions
- Left magnetism for providing values