[swift-evolution] [Discussion] Design guideline rule for `:`
Leonardo Pessoa
me at lmpessoa.com
Wed Jun 22 07:58:44 CDT 2016
Guidelines or not I'm sticking to the second form. It looks more elegant to me.
L
On 22 June 2016 at 09:42, Ben Rimmington via swift-evolution
<swift-evolution at swift.org> wrote:
>
> On 22 Jun 2016, at 12:40, Adrian Zubarev via swift-evolution
> <swift-evolution at swift.org> wrote:
>
> Should there be a design guideline rule for colons : in Swift?
>
>
> The standard library team (and Xcode generated interfaces) chose the first
> style for inheritance and where clauses (using the colon like an infix
> operator).
>
> The documentation team chose the second style, in "The Swift Programming
> Language" book, and in their WWDC presentation
> <https://developer.apple.com/videos/play/wwdc2016/404/>.
>
> -- Ben
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
More information about the swift-evolution
mailing list