Autoclosures (via swift)

Big -1 for autoclosures. Obscuring evaluation order at the call site just to save, what, 3 characters? That’s a bad tradeoff. It’s my least favorite part of Swift, and I don’t like it in Scala, either (though it doesn’t seem to get used very frequently there).

I’m a bigger fan of the compact closure form, and there’s been at least a little discussion about it in the past. Wasn’t very well received then.

6 Likes