Functional Programming in Python


Functional Programming in Python
by Martin McBride
pages 页数: 109 pages
Publisher Finelybook 出版社: Packt Publishing Limited (28 Nov. 2019)
Language 语言: English
ISBN-10 书号: 1800200668
ISBN-13 书号: 9781800200661
Publisher Finelybook 出版日期: 2019

Pages: 156
Language 语言: English
Pages: PDF/EPUB
Size: 10 Mb


Book Description
Python supports four programming paradigms – imperative,procedural,object-oriented,and functional. Of these,functional programming is probably the least understood and the least used. This book covers several topics that are directly and indirectly related to functional programming.
After a quick overview of functional programming and its characteristics,Functional Programming in Python explains the various concepts of Python,starting with functions. You’ll learn how to change the value of an object by using mutability. You’ll then look at recursion as a more functional alternative to looping for certain algorithms,and learn how memoization alleviates the limitations of recursion in certain situations. The book further explains how to use closures as function factories and how to handle errors and exceptions with functors and monads.
By the end of this book,you’ll have all the knowledge you need for developing your applications with functional programming in Python.
Study in detail all aspects of functional programming,including immutability,generators,and more
Reinforce your learning through elaborate examples
Learn how to implement advanced topics like closures,memoization,and monads in your applications
Learn
Understand the advantages and disadvantages of functional programming
Use closures in your code to dynamically create functions
Create your own iterators
Use the general-purpose functools to create your own specialized reducing functions
Study and implement list and generator comprehensions to create lists
Create customized iterators with generators

下载地址:

Functional Programming in Python 9781800200661.zip

下载地址 Download
打赏
未经允许不得转载:finelybook » Functional Programming in Python

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏