Functional Programming Course Overview
In this section, you’ll get ready to tackle functional programming in Python! You’ll learn the basics of functional programming in Python and how you can use immutable data structures to represent data in your programs.
You’ll go over what functional programming (FP) is from a computer science perspective and how it compares to other programming paradigms, like object-oriented programming (OOP) or procedural programming.
Here’s the example data set we’ll be working with throughout the course:
| Name | Field | Born | Nobel Prize? | |-----------------|------------|------|--------------| | Ada Lovelace | math | 1815 | no | | Emmy Noether | math | 1882 | no | | Marie Curie | math | 1867 | yes | | Tu Youyou | physics | 1930 | yes | | Ada Yonath | chemistry | 1939 | yes | | Vera Rubin | chemistry | 1928 | no | | Sally Ride | physics | 1951 | no |
00:00 Hey guys! It’s Dan. In this video, we’re going to talk about the basics of functional programming in Python. This video is going to be part of a series where I’m going to cover some of the basics of functional programming.
We’re going to talk about immutable data structures and how you would typically represent your data if you’re using a more functional programming style and—very importantly—we’re also going to talk about what this functional programming stuff is anyway, and what that term means. In the course of these tutorials, I’m going to take you through a few examples where you’ll learn how to work with the
map(), and the
reduce() functions in Python.
00:42 These are some of the core building blocks of a more functional programming style, and it’s generally a good thing to know about these, right? Like, if you’re wondering, “Okay, why should I watch this video?” It’s potentially a mind-expanding exercise for you, where you can learn about a different programming style.
Become a Member to join the conversation.