Tags
Language
Tags
October 2025
Su Mo Tu We Th Fr Sa
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1
    Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

    ( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
    SpicyMags.xyz

    Functional Programming in Python

    Posted By: igor_lv
    Functional Programming in Python

    Functional Programming in Python - David Mertz
    2015 | ISBN: 1491928565 | PDF,EPUB, MOBI | 48 pages | 5 Mb

    Python is not a functional programming language, but it is a multi-paradigm language that makes functional programming easy to perform, and easy to mix with other programming styles. In this paper, David Mertz, a director of Python Software Foundation, examines the functional aspects of the language and points out which options work well and which ones you should generally decline.

    Mertz describes ways to avoid Python’s imperative-style flow control, the nuances of callable functions, how to work lazily with iterators, and the use of higher-order functions. He also lists several third-party Python libraries useful for functional programming.

    Topics include:
    Using encapsulation and other means to describe "what" a data collection consists of, rather than "how" to construct a data collection
    Creating callables with named functions, lambdas, closures, methods of classes, and multiple dispatch
    Using Python’s iterator protocol to accomplish the same effect as a lazy data structure
    Creating higher-order functions that take functions as arguments and/or produce a function as a result