Chapter 2. Making a Good Application Architecture in Swift
Swift is a high-performance programming language, as you learned in the previous chapter. You also learned that writing good code is even more important than making it high-performance code. In this chapter, we will put the all-powerful features of Swift together and create an application. We will do this by covering the following topics:
Writing clean code
Immutability
Value types and immutability
Representing the state with classes
Representing the absence of values with optionals
Functional programming
Generics