作者简介: 史蒂文?F.洛特,has been programming since the '70s, when computers were large,expensive, and rare. He's been using Python to solve business problems for over 10 years.His other titles with Packt Publishing include Python Essentials, Mastering Object-OrientedPython, Functional Python Programming, and Python for Secret Agents. Steven is currently atechnomad who lives in city along the east coast of the U.S. You can follow his technologyblog (slott-softwarearchitect). 内容简介: 如果你是一名想要了解如何利用函数式编程的强大功能并将其应用于自己的程序中的Python开发人员,那么这是一本你不容错过的书,哪怕你对这种编程范式几乎一无所知。 本书一开始先概述了函数式概念,你会了解到一些常见的函数式特性,例如头等函数、高阶函数、纯函数等。接下来,你将看到如何在Python中运用这些特性,以此为你提供立足的核心基础知识。在这之后,你将学习用于Python的常见函数式优化,以帮助你的应用程序达到更高的运行速度。 你会学习到函数式编程的概念,例如使用Python的生成器函数和表达式实现惰性求值,然后学习如何设计和实现装饰器来创建复合函数。此外你还将深入探索数据预备技术和数据探查,了解Python标准库如何适应函数式编程模型。 最后,为了结束Python函数式编程世界的探索旅程,本书会向你展示PyMonad项目和一些更大规模的示例,以开阔你的视野。 目录: Copyright and Credits Preface Chapter 1: Understanding Functional Programming Identifying a paradigm Subdividing the procedural paradigm Using the functional paradigm Using a functional hybrid Looking at object creation The stack of turtles A classic example of functional programming Exploratory data analysis Summary Chapter 2: Introducing Essential Functional Concepts First-class functions Pure functions Higher-order functions Immutable data Strict and non-strict evaluation Recursion instead of an explicit loop state Functional type systems Familiar territory Learning some advanced concepts Summary Chapter 3: Functions, Iterators, and Generators ...
以下为对购买帮助不大的评价