on Tue Apr 19 2016, Alan Skipp <[email protected]> wrote:

> I’d place the ability to omit parenthesises for single args in the same 
> category
> as being able to omit `self` when accessing properties. They are small
> conveniences that make a large difference to an entire codebase.

Care to back that up with some measurements?  Take one of your projects
and find the instances of “[^) ] *->”

How many places in the code are affected, and how much worse is the result?

>     On 19 Apr 2016, at 15:49, Erica Sadun via swift-evolution
>     <[email protected]> wrote:
>
>     Apart from intuition and confusion, parentheses are used at call sites
>     and declarations. It seems out of line that they can be removed in types 
>     but only in one degenerate case.
>
>     This goes against the Swift core design goal of consistency.
>
>     -- E
>
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

-- 
Dave

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to