Functional Programming in Python

Watch Functional Programming in Python

  • 2017
  • 1 Season

Functional Programming in Python, from Packt Publishing, is a comprehensive guide to functional programming in Python. This show aims to teach developers the core concepts of functional programming, how they can be applied in Python, and how to use them effectively to write clean, readable, and maintainable code.

The show covers all the key concepts of functional programming: immutability, higher-order functions, pure functions, recursion, and more. It then goes on to show how to apply these concepts in the context of Python. This includes using Python's built-in functions, working with lambda functions and closures, and using Python's functional programming libraries such as functools and itertools.

Throughout the show, viewers are introduced to a variety of functional programming techniques and best practices, and given the opportunity to practice these techniques through hands-on coding exercises. The show also covers some of the common pitfalls of functional programming and how to avoid them.

The first part of the show covers the basics of functional programming, starting with an introduction to what functional programming is and its benefits. Viewers are then introduced to the core concepts of functional programming and shown how they can be applied in Python. This includes topics such as higher-order functions, recursion, and map, filter, and reduce.

The show then moves on to cover some more advanced topics, such as using closures and decorators in Python, working with generators, and handling errors and exceptions in functional programming.

One of the key benefits of functional programming is its ability to make code more modular and easier to read and maintain. The show explores this in detail, showing viewers how to write clean, concise, and reusable code using functional programming techniques. It covers topics such as abstraction, data hiding, and functional composition.

The show also covers some of the most commonly used libraries and frameworks for functional programming in Python. This includes libraries such as functools and itertools, which provide useful tools for functional programming, and frameworks such as Flask, which make it easier to build functional programming applications in Python.

One of the unique features of the show is its focus on real-world applications of functional programming in Python. Throughout the show, viewers are shown how functional programming can be used to solve real-world problems and build real-world applications. This includes topics such as data analysis, web development, and system administration.

Overall, Functional Programming in Python, from Packt Publishing, is a comprehensive and practical guide to functional programming in Python. Whether you are a beginner or an experienced Python developer, this show provides a valuable resource for learning how to write clean, readable, and maintainable code using functional programming techniques.

Functional Programming in Python is a series that is currently running and has 1 seasons (44 episodes). The series first aired on July 28, 2017.

Filter by Source

Seasons
Example - A Fully Functional, Interactive Calculator
22. Example - A Fully Functional, Interactive Calculator
July 28, 2017
In this video, we will take everything that we've learned, and use this newly acquired knowledge to polish the interactive calculator that we developed at the start of this section with the help of all using a functional programming style.
Example - A Fully Functional, Interactive Calculator
22. Example - A Fully Functional, Interactive Calculator
July 28, 2017
In this video, we will take everything that we've learned, and use this newly acquired knowledge to polish the interactive calculator that we developed at the start of this section with the help of all using a functional programming style.
Handling Errors in Lambda Expressions
21. Handling Errors in Lambda Expressions
July 28, 2017
In this video, we will look at an alternative approach to error handling, using a Maybe-like decorator. This resembles the Maybe monad, but takes a more Pythonic approach.
Handling Errors in Lambda Expressions
21. Handling Errors in Lambda Expressions
July 28, 2017
In this video, we will look at an alternative approach to error handling, using a Maybe-like decorator. This resembles the Maybe monad, but takes a more Pythonic approach.
You Cannot Catch Exceptions in Lambda Expressions
20. You Cannot Catch Exceptions in Lambda Expressions
July 28, 2017
In this video, we will look at exceptions, which are the standard Python approach to error handling.
You Cannot Catch Exceptions in Lambda Expressions
20. You Cannot Catch Exceptions in Lambda Expressions
July 28, 2017
In this video, we will look at exceptions, which are the standard Python approach to error handling.
Memoization - Remembering Results
19. Memoization - Remembering Results
July 28, 2017
In this video, we will look at memoization, which is a technique to optimize code by storing return values of functions.
Memoization - Remembering Results
19. Memoization - Remembering Results
July 28, 2017
In this video, we will look at memoization, which is a technique to optimize code by storing return values of functions.
Monads - Variables That Decide How They Should Be Treated
18. Monads - Variables That Decide How They Should Be Treated
July 28, 2017
In this video, we will look at monads. Most discussions of monads are complicated, and use lots of mathematical terminology. But, as we will see in this video, the idea of monads is really simple.
Monads - Variables That Decide How They Should Be Treated
18. Monads - Variables That Decide How They Should Be Treated
July 28, 2017
In this video, we will look at monads. Most discussions of monads are complicated, and use lots of mathematical terminology. But, as we will see in this video, the idea of monads is really simple.
Currying - One Argument per Function
17. Currying - One Argument per Function
July 28, 2017
In this video, we will look at currying, a technique for turning a function that takes multiple arguments into a chain of function that each take one argument.
Currying - One Argument per Function
17. Currying - One Argument per Function
July 28, 2017
In this video, we will look at currying, a technique for turning a function that takes multiple arguments into a chain of function that each take one argument.
Decorators with Arguments
16. Decorators with Arguments
July 28, 2017
In this video, we will consider decorators that accept arguments. This makes the decorator design pattern even more flexible.
Decorators with Arguments
16. Decorators with Arguments
July 28, 2017
In this video, we will consider decorators that accept arguments. This makes the decorator design pattern even more flexible.
Decorators - The @ Prefix
15. Decorators - The @ Prefix
July 28, 2017
In this video, we will consider decorators. Decorators are an elegant and Pythonic syntax to implement specific kinds of higher-level functions.
Decorators - The @ Prefix
15. Decorators - The @ Prefix
July 28, 2017
In this video, we will consider decorators. Decorators are an elegant and Pythonic syntax to implement specific kinds of higher-level functions.
The Operator Module - Operators as Regular Functions
14. The Operator Module - Operators as Regular Functions
July 28, 2017
Because operators (+, -, /, and so on) are syntax and not objects, you cannot pass them as arguments or return values. To bypass this problem, the Python operator module offers all operators also as functions.
The Operator Module - Operators as Regular Functions
14. The Operator Module - Operators as Regular Functions
July 28, 2017
Because operators (+, -, /, and so on) are syntax and not objects, you cannot pass them as arguments or return values. To bypass this problem, the Python operator module offers all operators also as functions.
Returning a Function from Another Function
13. Returning a Function from Another Function
July 28, 2017
In this video, we will see how a higher-order function can return functions as return values.
Returning a Function from Another Function
13. Returning a Function from Another Function
July 28, 2017
In this video, we will see how a higher-order function can return functions as return values.
Nesting a Function in Another Function
12. Nesting a Function in Another Function
July 28, 2017
In this video, we will look at nested functions, that is, functions that are defined inside other functions. We will also consider variable scope, that is, from which functions variables are accessible. These are important concepts for higher order functions.
Nesting a Function in Another Function
12. Nesting a Function in Another Function
July 28, 2017
In this video, we will look at nested functions, that is, functions that are defined inside other functions. We will also consider variable scope, that is, from which functions variables are accessible. These are important concepts for higher order functions.
Passing a Function as an Argument to Another Function
11. Passing a Function as an Argument to Another Function
July 28, 2017
In this video, we will consider how you can pass a function as an argument to another function. The receiving function is by definition a higher-order function.
Passing a Function as an Argument to Another Function
11. Passing a Function as an Argument to Another Function
July 28, 2017
In this video, we will consider how you can pass a function as an argument to another function. The receiving function is by definition a higher-order function.
Diving into Inline 'if' Expressions
10. Diving into Inline 'if' Expressions
July 28, 2017
In this video, we will consider 'if' expressions. These are the functional alternatives to the far more commonly used 'if' statements.
Diving into Inline 'if' Expressions
10. Diving into Inline 'if' Expressions
July 28, 2017
In this video, we will consider 'if' expressions. These are the functional alternatives to the far more commonly used 'if' statements.
Understanding 'and' and 'or'
9. Understanding 'and' and 'or'
July 28, 2017
In this video, we will take a closer look at 'and' and 'or'.
Understanding 'and' and 'or'
9. Understanding 'and' and 'or'
July 28, 2017
In this video, we will take a closer look at 'and' and 'or'.
Diving into Lambda Expressions
8. Diving into Lambda Expressions
July 28, 2017
In this video, we will look at lambda expressions. This is the purest form of functional programming that Python offers. Lambda expressions are functions that consist of a single expression and which do not need to have a name.
Diving into Lambda Expressions
8. Diving into Lambda Expressions
July 28, 2017
In this video, we will look at lambda expressions. This is the purest form of functional programming that Python offers. Lambda expressions are functions that consist of a single expression and which do not need to have a name.
The Difference Between Statements and Expressions
7. The Difference Between Statements and Expressions
July 28, 2017
Functional programming relies heavily on expressions, and eschews statements. But what is the difference between the two? In this video, we will learn exactly how statements and expressions differ.
The Difference Between Statements and Expressions
7. The Difference Between Statements and Expressions
July 28, 2017
Functional programming relies heavily on expressions, and eschews statements. But what is the difference between the two? In this video, we will learn exactly how statements and expressions differ.
Con - Functional Programming Can Be Unintuitive
6. Con - Functional Programming Can Be Unintuitive
July 28, 2017
In this video, we will consider how functional programming doesn't always match how humans think of the world as consisting of objects.
Con - Functional Programming Can Be Unintuitive
6. Con - Functional Programming Can Be Unintuitive
July 28, 2017
In this video, we will consider how functional programming doesn't always match how humans think of the world as consisting of objects.
Con - Complexity and Overly Deep Recursion
5. Con - Complexity and Overly Deep Recursion
July 28, 2017
In this video, we will consider recursion (functions that call themselves), which is often used in functional programming instead of loops.
Con - Complexity and Overly Deep Recursion
5. Con - Complexity and Overly Deep Recursion
July 28, 2017
In this video, we will consider recursion (functions that call themselves), which is often used in functional programming instead of loops.
Pro - You Can Prove That Code Is Correct at Least in Theory
4. Pro - You Can Prove That Code Is Correct at Least in Theory
July 28, 2017
In this video, we will consider two ways of testing code, unit testing and through formal proofs.
Pro - You Can Prove That Code Is Correct at Least in Theory
4. Pro - You Can Prove That Code Is Correct at Least in Theory
July 28, 2017
In this video, we will consider two ways of testing code, unit testing and through formal proofs.
Pro - Stateless, Referentially Transparent Functions Produce the Same Result
3. Pro - Stateless, Referentially Transparent Functions Produce the Same Result
July 28, 2017
In this video, we will see what statelessness, side-effects, and referential transparency are.
Pro - Stateless, Referentially Transparent Functions Produce the Same Result
3. Pro - Stateless, Referentially Transparent Functions Produce the Same Result
July 28, 2017
In this video, we will see what statelessness, side-effects, and referential transparency are.
Example - A Functional, Interactive Calculator
2. Example - A Functional, Interactive Calculator
July 28, 2017
In this video, we will see how a basic calculator application can be implement using two different programming styles, procedural and functional. By doing so, we will get a first taste of functional programming.
Example - A Functional, Interactive Calculator
2. Example - A Functional, Interactive Calculator
July 28, 2017
In this video, we will see how a basic calculator application can be implement using two different programming styles, procedural and functional. By doing so, we will get a first taste of functional programming.
The Course Overview
1. The Course Overview
July 28, 2017
This video gives an overview of entire course.
The Course Overview
1. The Course Overview
July 28, 2017
This video gives an overview of entire course.
Description
Where to Watch Functional Programming in Python
Functional Programming in Python is available for streaming on the Packt Publishing website, both individual episodes and full seasons. You can also watch Functional Programming in Python on demand at Amazon.
  • Premiere Date
    July 28, 2017