[swift-evolution] [Review] SE-0118: Closure Parameter Names and Labels

Dave Abrahams dabrahams at apple.com
Wed Jul 6 20:26:13 CDT 2016


on Wed Jul 06 2016, David Rönnqvist <swift-evolution at swift.org> wrote:

>>    * What is your evaluation of the proposal?
>
> +1. These look like good improvements to me. (I'm also happy that the map/filter/reduce naming was left out of this proposal)
>
> One thing I was wonder about was the capitalization of UTF8 in the
> first example. Shouldn't that be s.withUTF8Buffer(processBytes)instead
> of s.withUtf8Buffer(processBytes) or am I confusing Swift's
> conventions with Cocoa's?

No, you're right; fixed, thanks!

-- 
Dave



More information about the swift-evolution mailing list