We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Functional Programming in Python

Add functional programming to your toolbox without pretending Python is Haskell.

What you'll learn in this Python course

Functional programming is back in vogue. There's a reason front-end frameworks like React and Vue are moving toward functional programming, and after this course you'll more than understand its benefits. We'll dive in-depth into all of the foundational concepts of functional programming in a familiar language.

Chapter List

1
Functional Programming
Learn about the difference between OOP and functional styles, and what the real difference is: imperative vs. declarative
2
First-Class Functions
First-class and higher-order functions are foundational to everything we do in the functional paradigm.
3
Pure Functions
My favorite part of functional programming is the focus on pure functions that are easy to test and reason about
4
Recursion
While not unique to functional programming, recursion is a powerful tool that is used often when trying to avoid imperative code
5
Function Transformations
Learn how to transform functions into other functions to write more abstract and generalized code
6
Closures
Learn about encapsulating state within functions and how to use closures to write more expressive code
7
Currying
Learn to transform a function with multiple parameters into a series of functions with one parameter, and why you might want to do that
8
Decorators
Learn about Python's decorators and how they're essentially syntactic sugar for higher-order functions
9
Sum Types
Learn about sum types, a powerful way to represent data that is used in many functional languages

Join 42,351 students in the Learn Functional Programming in Python course

Read reviews of their learning experiences

This course was very difficult for all of the higher order functions and chaining these functions. Definitely a good challenge

(5/5)
Joshua Cassel profile image

Joshua Cassel

Colorado Springs, CO

real hard

(5/5)
Otto Coone profile image

Otto Coone

Belgium

so difficultttttt

(5/5)
Manos Botsis profile image

Manos Botsis

Athens, Greece

It was very challenging, I really enjoyed it.

(5/5)
Alexander Höppner profile image

Alexander Höppner

Germany

A great way to expand your knowledge with python if you are already familiar with it. Can be hard to follow at times, but that can be a result of not committing previous lessons to memory.

(4/5)
Reese Robinson profile image

Reese Robinson

United States

OOP was a relative breeze compared to this. Holy moly what a jump in difficulty.

(4/5)
Karim  profile image

Karim

Netherlands

this is a very hard unit. but you can do it!!

(4/5)
TJ Stoverink profile image

TJ Stoverink

United States

Really good, the lessons had me thinkin frfr

(5/5)
danik322  profile image

danik322

Ukraine

This course was so challenging for me, I was practically pulling my hair out in frustration during certain chapters. But I also found it incredibly rewarding when I was finally able to grasp the concepts it taught me. 10/10, would suffer through it all over again. (Jesus Christ, do I hate recursions)

(5/5)
Riley White profile image

Riley White

Colorado, United States

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.