>
> The braces being around the type specifier as well as function body rather
> bothers me. Surely it would be more consistent just to have the braces
> around the function body, and then the type specifier preceding this?
>

If you mean consistency between closures and function declarations,
wouldn't it be simpler to go the other way?

    func tableView { (tableView: UITableView, cellForRowAtIndexPath
indexPath: NSIndexPath) -> UITableViewCell in
        ...
    }
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to