Swift Programming Language

31 thoughts
last posted Aug. 6, 2014, 9:41 p.m.

8 earlier thoughts

0

Interesting syntactic sugar: “A closure passed as the last argument to a function can appear immediately after the parentheses.”

i.e.

foo(...) {...}

instead of

foo(..., {...})

22 later thoughts