Functional Programming in Python 在线电子书 图书标签: Python 函数式编程 Functional
发表于2024-12-23
Functional Programming in Python 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
higher-order functions! 感觉修炼一段时间以后得重看。
评分长知识了,感觉作者啊超级萌!
评分https://github.com/greatabel/PythonRepository/tree/master/10Function%20Programming%20in%20Python 我只想说我已经不是一张白纸了,没法子抹去指令式编程,特别是面向对象编程在脑子留下的经历了,如果当初大三学抽代时候能把函数式编程作为一种实践,说不定第一感会是函数式思维。虽然时间是幻想,相对论比牛顿定律更精确,但是现实中大部分时间大家还是继续用牛顿思维,想到这个也就释然一些了。
评分體驗很好 有一種讀JAVA8新特性小冊子的感覺 只有49頁 從FP的角度看python https://www.oreilly.com/programming/free/functional-programming-python.csp
评分higher-order functions! 感觉修炼一段时间以后得重看。
David Mertz, being a sort of Foucauldian Berkeley, believes, esse est denunte. David may be reached at mertz@gnosis.cx; his life pored over at http://gnosis.cx/publish/.
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
评分
评分
评分
评分
Functional Programming in Python 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024