Learning Functional Programming with Swift
53mIntermediate2018-05-16
Authors

Shaun Wassell
Full-Stack Software Developer
Course details
By taking up functional programming—a popular programming paradigm that's centered around pure functions—you can write more robust and maintainable Swift code. This course prepares you to make the switch by providing an introduction to the functional paradigms in Swift. Instructor Shaun Wassell covers functional concepts, first-class functions, and array functions. He also dives into a few advanced concepts, including partial application and recursion.
Learning objectives
What is functional programming?
Keeping functions and data separate
First-class functions
Working with arrays functionally
Filtering and reducing
Partial-application and recursion
Learning objectives
What is functional programming?
Keeping functions and data separate
First-class functions
Working with arrays functionally
Filtering and reducing
Partial-application and recursion
Skills covered
SwiftAppleLearningProgramming LanguagesSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
1. What Is Functional Programming
- 03 - Functional programming overview
- 04 - Immutability and avoiding state change
- 05 - Keeping functions and data separate
- 06 - First-class functions
2. First-Class Functions
- 07 - Function types
- 08 - Defining functions like variables
- 09 - Passing functions as arguments
- 10 - Returning functions
3. Array Functions
- 11 - Working with arrays functionally
- 12 - Mapping
- 13 - Mapping example
- 14 - Filtering
- 15 - Filtering example
- 16 - Reducing
- 17 - Reducing example
- 18 - Combining functions
4. Advanced Functional Concepts
- 19 - Advanced concepts
- 20 - Partial application
- 21 - Recursion
Conclusion
- 22 - Next steps