Video description
In this Functional Programming with Python training course, expert author Chris Armstrong will teach you functional programming techniques for making maintainable, modular, and testable code. This course is designed for users that already have experience with Python.
You will start by learning about functional programming, including first class functions, recursion, and modifying data structures. From there, Chris will teach you about many functional programming libraries available in the Python ecosystem. This video tutorial will then teach you how to implement a text adventure game using these techniques and libraries. You will also learn how to write unit tests for functional code, use imperative libraries in a functional way, and use first-class effects. Finally, you will create a web UI for the game, and learn how to isolate an imperative web framework so that all of the application logic remains purely functional.
Once you have completed this computer based training course, you will have learned how to apply these functional programming techniques to create maintainable, modular, and testable Python code.
Table of contents
-
Introduction
- Introduction 00:01:49
- Libraries And Setting Up Our Environment 00:01:44
- About The Author 00:00:37
-
Functional Programming
- What Is Functional Programming? 00:04:09
- Why Functional Programming? 00:11:12
- First-Class Functions 00:01:35
- Recursion 00:04:32
- Higher-Order Functions 00:07:07
- Modifying Data Structures 00:02:31
- A Tour Of FP Libraries
- Implementing A Game
-
Testing
- Writing Unit Tests For Our Simulation Code 00:04:52
- Stateful Testing With Hypothesis 00:04:19
- Testing Our Game With Hypothesis 00:07:12
-
User Interface
- Creating A Text-Based UI 00:05:24
- Testing Effects With Mocks 00:05:56
-
Integrating With An Imperative Third-Party Library
- Using An Imperative Library: SQLite 00:03:25
- Using An Imperative Library: Storing And Loading Data 00:04:20
- Refactoring Imperative Code 00:03:30
- Adding Storage To The Game Loop 00:07:45
-
First-Class Effects
- The Desire For First-Class Effects 00:03:31
- Making Our Imperative Shell Pure 00:04:31
- Performing Effects 00:02:18
- Testing Effects 00:06:28
- Creating Custom Intents 00:05:30
-
Web UI
- Introduction To Flask 00:05:01
- Making Flask Functional 00:06:25
- A Functional Web UI For Our Game 00:06:11
-
Conclusion
- Wrapping Up And What To Do Next 00:01:55
Product information
- Title: Functional Programming with Python
- Author(s):
- Release date: November 2015
- Publisher(s): Infinite Skills
- ISBN: 9781771374651
You might also like
book
Functional Programming in Python
Python is not a functional programming language, but it is a multi-paradigm language that makes functional …
video
Functional Programming & Python
Python supports several programming styles-imperative, object oriented, and functional. Most programmers are familiar with the former …
book
Functional Python Programming - Third Edition
“Using this book has propelled my efficiency in solving leetcode challenges.” - Discord user, zizu Python …
book
Functional Python Programming - Second Edition
Create succinct and expressive implementations with functional programming in Python About This Book Learn how to …