[swift-evolution] [Review] SE-0066: Standardize function type argument syntax to require parentheses

Chris Lattner clattner at apple.com
Tue Apr 26 15:31:29 CDT 2016


> On Apr 25, 2016, at 11:28 PM, David Owens II via swift-evolution <swift-evolution at swift.org> wrote:
> 
> What is your evaluation of the proposal?
> I reluctantly agree with the proposal with the following caveat: I do not agree with the rationale to support being able to choose to omit the () for the parameter list of the closure declaration.
> 
> I see no cohesive argument that says that the parens should be required in some cases but not in others when talking about parameter lists.
> 
> I believe the proposal should be amended that the following should be the only allowable forms:

Hi David,

To be clear, this proposal is not about changing closure expressions, it was just a FAQ, and the section at the end is simply my personal opinion.  Changing closure expression syntax would be a separate proposal.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160426/d8278acd/attachment.html>


More information about the swift-evolution mailing list