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

Goffredo Marocchi panajev at gmail.com
Tue Apr 26 01:38:25 CDT 2016


[[iOS messageWithData:ideas] broadcast]

> On 26 Apr 2016, at 07:28, 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:

Agreed, the exception for the parameter list in a closure declaration should be gone too potentially, I do not see a very convincing case why we should keep it. Does it solve some particular problem now in its current form?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160426/2d20a56f/attachment.html>


More information about the swift-evolution mailing list