O'Reilly logo

Functional Programming: A PragPub Anthology by Michael Swaine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required