Functional Python Programming
Steven F. Lott
This book provides detailed guidance on how to use Python’s functional programming features.
Python isn’t all about object-oriented programming. Discover a valuable way of thinking about code design through a function-first approach – and learn when you need to use it. Now with detailed exercises at the end of every chapter!
Key Features
• Learn how, when, and why to adopt functional elements in your projects
• Explore the Python modules essential to functional programming, like itertools and functools
• Revised to cover new features of Python 3.10, exercises at the end of every chapter, and more
What you will learn
• Use Python’s libraries to avoid the complexities of state-changing classes
• Leverage built-in higher-order functions to avoid rewriting common algorithms
• Write generator functions to create lazy processing
• Design and implement decorators for functional composition
• Make use of Python type annotations to describe parameters and results of functions
• Apply functional programming to concurrency and web services
• Explore the PyMonad library for stateful simulations
Who this book is for
The functional paradigm is very useful for programmers working in data science, but any Python developer who wants to create more reliable, succinct, and expressive code will have much to learn from this book.
No prior knowledge of functional programming is required to get started, though Python programming knowledge is assumed. A running Python environment is essential.
Python isn’t all about object-oriented programming. Discover a valuable way of thinking about code design through a function-first approach – and learn when you need to use it. Now with detailed exercises at the end of every chapter!
Key Features
• Learn how, when, and why to adopt functional elements in your projects
• Explore the Python modules essential to functional programming, like itertools and functools
• Revised to cover new features of Python 3.10, exercises at the end of every chapter, and more
What you will learn
• Use Python’s libraries to avoid the complexities of state-changing classes
• Leverage built-in higher-order functions to avoid rewriting common algorithms
• Write generator functions to create lazy processing
• Design and implement decorators for functional composition
• Make use of Python type annotations to describe parameters and results of functions
• Apply functional programming to concurrency and web services
• Explore the PyMonad library for stateful simulations
Who this book is for
The functional paradigm is very useful for programmers working in data science, but any Python developer who wants to create more reliable, succinct, and expressive code will have much to learn from this book.
No prior knowledge of functional programming is required to get started, though Python programming knowledge is assumed. A running Python environment is essential.
ক্যাটাগোরিগুলো:
সাল:
2022
সংস্করণ:
3rd
প্রকাশক:
Packt Publishing
ভাষা:
english
পৃষ্ঠা:
577
ISBN 10:
1803232579
ISBN 13:
9781803232577
ফাইল:
EPUB, 4.72 MB
IPFS:
,
english, 2022
কপিরাইট ধারকের অভিযোগের কারণে এই বইটির ডাউনলোড অনুপলব্ধ