Ebook: Functional Programming in Python
Author: Mertz David.
- Genre: Computers // Programming: Programming Languages
- Tags: Библиотека, Компьютерная литература, Python
- Language: English
- mobi
O’Reilly Media, 2015 - 47 pages; ISBN-13: 978-1-491-92856-1; на англ. языке.Book Description
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 resultTable Of Contents
Preface
(Avoiding) Flow Control
Callables
Lazy Evaluation
Higher-Order Functions
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 resultTable Of Contents
Preface
(Avoiding) Flow Control
Callables
Lazy Evaluation
Higher-Order Functions
Download the book Functional Programming in Python for free or read online
Continue reading on any device:
Last viewed books
Related books
{related-news}
Comments (0)