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,558 students in the Learn Functional Programming in Python course

Read reviews of their learning experiences

Honestly, I barely feel like I understood anything, gonna have to go through it again

(5/5)
Elijah Worch profile image

Elijah Worch

United States

The course was very challenging, especially when it came down to Recursion and Function Transformation. But the provided examples were very informative, easy to understand, and the guided steps helped break the Assignment down to digestible steps.

(5/5)
Kean  profile image

Kean

Canada

It is quite hard and some of the topics are very confusing, but this is not a show stopper once you get a hang of what it means.

(5/5)
Francisco Javier García López profile image

Francisco Javier García López

Mexico

quite a bit hardes than the previos ones but good overall

(5/5)
rafael walker profile image

rafael walker

Chile

The course was good and taught a lot of new stuff that caught me off guard at first, but it all started to make sense in the end

(5/5)
Jorge Felix profile image

Jorge Felix

United States

A very informative but difficult crash course on functional programming.

(5/5)
Keegan  profile image

Keegan

South Africa, Gauteng, Centurion

It was incredibly rough, but it's done. Learned a lot would recommend but be ready

(5/5)
Darth c3po profile image

Darth c3po

United States

The course is very educational. It teaches many concepts and gives lots of practice questions. However, it doesn't address how these concepts could be used in the real world.

(5/5)
Ayoub Rachidi profile image

Ayoub Rachidi

Morocco

Very intersting part of learning process.

(5/5)
Petar Djorovic profile image

Petar Djorovic

Serbia

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.