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
<[email protected]> wrote:
>
> On 22 Jun 2016, at 12:40, Adrian Zubarev via swift-evolution
> <[email protected]> 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
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to