Chapter 15Swift: What You Need to Know

by Mark Chu-Carroll

The motivations behind the development of computer languages matter. Haskell was developed for research in functional language design. Clojure was designed around the idea that functional style and pervasive immutability are prerequisites for concurrency. Elixir was designed with high extensibility and productivity in mind. But in Swift, we are looking at a replacement for an existing language, created for a base of developers who may be interested in getting the benefits of functional programming, but who don’t necessarily want to shift to an entirely new paradigm. The PragPub authors examined Swift shortly after its release with this hybrid purpose in mind.

In 2014, Apple announced ...

Get Functional Programming: A PragPub Anthology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.