Proposal link: 
https://github.com/apple/swift-evolution/blob/master/proposals/0066-standardize-function-type-syntax.md

Hello Swift community,

The review of SE-0066 “Standardize function type argument syntax to require 
parentheses” ran from April 25...May 2, 2016. The proposal is accepted for 
Swift 3.

There was a significant amount of feedback on the proposal, with a fairly 
common theme of “lukewarm acceptance.” A number of community members were sad 
to see this familiar syntactic shortcut go away, but acknowledge that it fits 
well with recent directions, e.g., the elimination of the implicit tuple splat 
behavior (SE-0029 
<https://github.com/apple/swift-evolution/blob/master/proposals/0029-remove-implicit-tuple-splat.md>).
 The core team acknowledges that the ability to elide parentheses is not 
actively harmful to the language, but felt that it was better to have 
consistency around function types (always have parentheses) than provide a 
relatively small syntactic shortcut for higher-order functions. The core team 
did not feel that this proposal needed to include required parentheses within 
closures, which have their own fairly specific grammar.

        - Doug, Review Manager

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

Reply via email to