Functional Programming in Python

Functional Programming in Python

可供購買
Functional programming is a style of programming that is characterized by short functions, lack of statements, and little reliance on variables. You will learn what functional programming is, and how you can apply functional programming in Python. We will also consider several different implementations of an interactive calculator to illustrate the use of functional programming.
20171 季
演員陣容:Sebastiaan Mathôt
全部
22 集
  • 第 1 集。The Course Overview

    第 1 集。The Course Overview

    This video gives an overview of entire course.
    This video gives an overview of entire course.
    全部
    5 分鐘
    2017年7月28日
  • 第 2 集。Example - A Functional, Interactive Calculator

    第 2 集。Example - A Functional, Interactive Calculator

    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.
    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.
    全部
    12 分鐘
    2017年7月28日
  • 第 3 集。Pro - Stateless, Referentially Transparent Functions Produce the Same Result

    第 3 集。Pro - Stateless, Referentially Transparent Functions Produce the Same Result

    In this video, we will see what statelessness, side-effects, and referential transparency are.
    In this video, we will see what statelessness, side-effects, and referential transparency are.
    全部
    7 分鐘
    2017年7月28日
  • 第 4 集。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

    In this video, we will consider two ways of testing code, unit testing and through formal proofs.
    In this video, we will consider two ways of testing code, unit testing and through formal proofs.
    全部
    9 分鐘
    2017年7月28日
  • 第 5 集。Con - Complexity and Overly Deep Recursion

    第 5 集。Con - Complexity and Overly Deep Recursion

    In this video, we will consider recursion (functions that call themselves), which is often used in functional programming instead of loops.
    In this video, we will consider recursion (functions that call themselves), which is often used in functional programming instead of loops.
    全部
    6 分鐘
    2017年7月28日
  • 第 6 集。Con - Functional Programming Can Be Unintuitive

    第 6 集。Con - Functional Programming Can Be Unintuitive

    In this video, we will consider how functional programming doesn't always match how humans think of the world as consisting of objects.
    In this video, we will consider how functional programming doesn't always match how humans think of the world as consisting of objects.
    全部
    9 分鐘
    2017年7月28日
  • 第 7 集。The Difference Between Statements and Expressions

    第 7 集。The Difference Between Statements and Expressions

    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.
    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.
    全部
    6 分鐘
    2017年7月28日
  • 第 8 集。Diving into Lambda Expressions

    第 8 集。Diving into Lambda Expressions

    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.
    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.
    全部
    6 分鐘
    2017年7月28日
  • 第 9 集。Understanding 'and' and 'or'

    第 9 集。Understanding 'and' and 'or'

    In this video, we will take a closer look at 'and' and 'or'.
    In this video, we will take a closer look at 'and' and 'or'.
    全部
    7 分鐘
    2017年7月28日
  • 第 10 集。Diving into Inline 'if' Expressions

    第 10 集。Diving into Inline 'if' Expressions

    In this video, we will consider 'if' expressions. These are the functional alternatives to the far more commonly used 'if' statements.
    In this video, we will consider 'if' expressions. These are the functional alternatives to the far more commonly used 'if' statements.
    全部
    5 分鐘
    2017年7月28日
  • 第 11 集。Passing a Function as an Argument to Another Function

    第 11 集。Passing a Function as an Argument to Another Function

    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.
    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.
    全部
    9 分鐘
    2017年7月28日
  • 第 12 集。Nesting a Function in Another Function

    第 12 集。Nesting a Function in Another Function

    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.
    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.
    全部
    7 分鐘
    2017年7月28日
  • 第 13 集。Returning a Function from Another Function

    第 13 集。Returning a Function from Another Function

    In this video, we will see how a higher-order function can return functions as return values.
    In this video, we will see how a higher-order function can return functions as return values.
    全部
    5 分鐘
    2017年7月28日
  • 第 14 集。The Operator Module - Operators as Regular Functions

    第 14 集。The Operator Module - Operators as Regular Functions

    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.
    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.
    全部
    5 分鐘
    2017年7月28日
  • 第 15 集。Decorators - The @ Prefix

    第 15 集。Decorators - The @ Prefix

    In this video, we will consider decorators. Decorators are an elegant and Pythonic syntax to implement specific kinds of higher-level functions.
    In this video, we will consider decorators. Decorators are an elegant and Pythonic syntax to implement specific kinds of higher-level functions.
    全部
    5 分鐘
    2017年7月28日
  • 第 16 集。Decorators with Arguments

    第 16 集。Decorators with Arguments

    In this video, we will consider decorators that accept arguments. This makes the decorator design pattern even more flexible.
    In this video, we will consider decorators that accept arguments. This makes the decorator design pattern even more flexible.
    全部
    7 分鐘
    2017年7月28日
  • 第 17 集。Currying - One Argument per Function

    第 17 集。Currying - One Argument per Function

    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.
    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.
    全部
    8 分鐘
    2017年7月28日
  • 第 18 集。Monads - Variables That Decide How They Should Be Treated

    第 18 集。Monads - Variables That Decide How They Should Be Treated

    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.
    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.
    全部
    7 分鐘
    2017年7月28日
  • 第 19 集。Memoization - Remembering Results

    第 19 集。Memoization - Remembering Results

    In this video, we will look at memoization, which is a technique to optimize code by storing return values of functions.
    In this video, we will look at memoization, which is a technique to optimize code by storing return values of functions.
    全部
    7 分鐘
    2017年7月28日
  • 第 20 集。You Cannot Catch Exceptions in Lambda Expressions

    第 20 集。You Cannot Catch Exceptions in Lambda Expressions

    In this video, we will look at exceptions, which are the standard Python approach to error handling.
    In this video, we will look at exceptions, which are the standard Python approach to error handling.
    全部
    5 分鐘
    2017年7月28日
  • 第 21 集。Handling Errors in Lambda Expressions

    第 21 集。Handling Errors in Lambda Expressions

    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.
    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.
    全部
    6 分鐘
    2017年7月28日
  • 第 22 集。Example - A Fully Functional, Interactive Calculator

    第 22 集。Example - A Fully Functional, Interactive Calculator

    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.
    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.
    全部
    13 分鐘
    2017年7月28日
  • Functional Programming in Python
    20171 季
    Functional programming is a style of programming that is characterized by short functions, lack of statements, and little reliance on variables. You will learn what functional programming is, and how you can apply functional programming in Python. We will also consider several different implementations of an interactive calculator to illustrate the use of functional programming.
    製作人與演員
    演員陣容
    Sebastiaan Mathôt
    工作室
    Packt Publishing
    評論
    1. 5 顆星
      0%
    2. 4 顆星
      0%
    3. 3 顆星
      0%
    4. 2 顆星
      0%
    5. 1 顆星
      0%
    查看全部評論
    音頻語言
    English
    字幕
    English [CC]
    訂購或觀看,即表示您同意我們的條款。由 Amazon.com Services LLC 銷售。

    意見回饋