Chapter 16Functional Thinking in Swift
by Tony Hillerson
When Apple announced a new programming language for iOS and Mac development, a lot of developers immediately started geeking out over Swift. At Tack, where I work, we were no exception: most of us on the iOS side of the aisle started filling our chat room with “Sweet!,” “What the heck?,” and “Dude, check this out!” in equal measures. Now that the noise has settled down, we can analyze just how this language works, particularly in its functional style.
As you find your way around Swift, pay attention to the features that fit the functional paradigm. If you do, you’ll be better able to take advantage of the things a functional language does well, like handle concurrency better, express ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access