Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Functional Programming Techniques

via CodeSignal

Overview

This course dives into the intricacies of functional objects in Python, with a focus on functors, currying, and partial application. You'll learn how to harness these powerful concepts to create more modular, reusable, and maintainable code.

Syllabus

  • Lesson 1: Introduction to Currying and Partial Application in Python
    • Currying the Multiply Function in Python
    • Partial Application for Logging in Python
    • Debugging Curried Multiply Function in Python
    • Partial Application to Calculate Cost with Tax
    • Curried Function for String Concatenation
  • Lesson 2: Advanced Currying Techniques in Python
    • Creating a Curried Function for Basic Mathematical Operations
    • Curried Server Configuration Task
    • Curried Function to Calculate Total Cost
    • Adding a Timestamp to Curried log_message Function
  • Lesson 3: Creating Callable Objects in Python
    • Creating a YoungerThan Callable Object in Python
    • Filtering Numbers Within a Range Using Callable Objects
    • DivisibleBy Callable Object Task
    • Creating a Callable Class to Multiply List Elements
    • Creating Callable Objects for Filtering and Transforming Lists
  • Lesson 4: Advanced Functional Programming with Callable Objects in Python
    • Increasing Item Prices Using Callable Objects
    • Filter Persons by Age Using Callable Objects
    • Increasing Health Points with Callable Classes

Reviews

Start your review of Functional Programming Techniques

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.