Learning Functional Programming with Swift

Learning Functional Programming with Swift

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 0h 53m | 136 MB

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.

Topics include:

  • What is functional programming?
  • Keeping functions and data separate
  • First-class functions
  • Working with arrays functionally
  • Filtering and reducing
  • Partial-application and recursion
Table of Contents

Introduction
1 Welcome
2 What you should know

What Is Functional Programming
3 Functional programming overview
4 Immutability and avoiding state change
5 Keeping functions and data separate
6 First-class functions

First-Class Functions
7 Function types
8 Defining functions like variables
9 Passing functions as arguments
10 Returning functions

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

Advanced Functional Concepts
19 Advanced concepts
20 Partial application
21 Recursion

Conclusion
22 Next steps