In this chapter, we covered control flow and functions in Swift. It is essential to understand the concepts in this chapter before moving ahead. Every application that we write, beyond the simple Hello World applications, will rely very heavily on control flow statements and functions.
Control flow statements are used to make decisions within our application, and functions are used to group our code into sections that are reusable and organized.
In the next chapter, we will learn how to group our code into classes and structures.