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
What is 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 39,673 students in the Learn Functional Programming in Python course

Read reviews of their learning experiences

I think i like OOP better.. My brain can't handle FP.. Still learned a lot though

(4/5)
Flying Chungus profile image

Flying Chungus

Malaysia

incrível, foi muito bom fazer esse curso!!

(5/5)
Eliseu Soares profile image

Eliseu Soares

Angola

This was pretty challenging for me and I definitely need more practice on some of the concepts, but I do feel more versed in Python now

(4/5)
UrCorneredRat  profile image

UrCorneredRat

Germany

Worst one so far. I enjoyed the previous lessons but this one was confusing.

(1/5)
Ömer  profile image

Ömer

Turkey

oh my god. this functional is very hard. but i learn very new something from for this

(5/5)
Phạm Quý profile image

Phạm Quý

Hồ Chí Minh

pretty dense

(4/5)
Le Git profile image

Le Git

Brazil

To much lost explanation in the assignments. It made me really dislike the subject. Glad I can now focus on something else....

(2/5)
Nicolas Jousson profile image

Nicolas Jousson

Netherlands

A good challenge for those who have not done functional programming before. Will use some of the key "features" of functional programming

(5/5)
Albert  profile image

Albert

Norway

This was difficult

(4/5)
potato pobobot profile image

potato pobobot

Canada

Showing 1-9 of 1003

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.