[swift-evolution] [pitch] Eliminate the "T1 -> T2" syntax, require "(T1) -> T2"

Thorsten Seitz tseitz42 at icloud.com
Tue Apr 19 16:35:29 CDT 2016

Well said!


> Am 19.04.2016 um 18:01 schrieb Alan Skipp via swift-evolution <swift-evolution at swift.org>:
> 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.
>> On 19 Apr 2016, at 15:49, Erica Sadun via swift-evolution <swift-evolution at swift.org> 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
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160419/c8e0f742/attachment.html>

More information about the swift-evolution mailing list