Early returning functions in Swift John Sundell shows us the benefits of returning early from functions, a technique we can use to improve code readability and comprehension. Posted on September 4, 2018 #function
Sets & free functions This post from editor’s cut looks at implementing a Set type as a free function. This is probably something different to how we normally think of types, and it’s an interesting idea. Posted on February 12, 2018 #set #function
First class functions in Swift In this entry in his weekly Swift blog series, John Sundell looks at first class functions. John starts with some basic use cases for first class functions, such as passing functions as arguments, before demonstrating more advance use cases. Posted on January 30, 2018 #function