This week i’ve been learning more about functional programming that can be found in Chapter 6 in Hudson’s Pro Swift book. Here’s are the five guiding principles:
“Five Functional Principles, and hopefully you’ll remember
1) first-class data types
2) higher-order functions
3) pure functions
4) immutability, and
5) reduce state.”
Excerpt From: Paul Hudson. “Pro Swift.” iBooks.