Key Features: For Python programmers new to functional programming, or with some exposure in another language Coverage of essential functional Python libraries as well as add-ons A comprehensive set of exercises at the end of every chapter that build on chapter content What is functional programming and why is it useful? Functional programming rests on a few foundational concepts, centered on using function definitions in various combinations to implement the processing you need. A key element of using functions is a preference for using stateless objects like Python strings, numbers, and tuples. For data analytics and machine learning applications, the functional style often fits well with data cleansing and transformation pipelines. The functional approach is distinct from object-oriented (OO) programming: It tends to avoid object creation This can significantly reduce memory use and improve performance, when compared with OO techniques Since Python is not a purely functional language, some OO techniques will be part of the implementations. This means we can make use of the best aspects of both paradigms. What’s new in this edition of the book? We’ve covered a few new packages, toolz and pyrsistent, that are often helpful for writing functional programs. We’ve expanded the coverage of immutable data structures to include NamedTuple and frozen @dataclass classes. This includes using the pyrsistent module for immutable objects that can evolve by emitting an object of the same class in a revised state. You’ll also find examples of the new match statement, which has type-matching features often used in other functional languages. All type hints have been revised to match Python 3.10 definitions, following PEP-585. Finally, a complete set of exercises have been added to each chapter. All of the example code is unit tested, and provided in the GitHub repository for the book. This process works by examining all of the code and console examples in the book’s source and placing the code into a context where it’s testable. There are about 250 test cases for the examples. Table of Contents: Working with Collections Higher-Order Functions Recursions and Reductions The Itertools Module The Functools Module The Multiprocessing, Threading, and Concurrent.Futures Modules A Functional Approach to Web Services ...and more! Functional Python Programming Python Object-Oriented Programming Page Count 576 pages 714 pages Edition Third Fourth Target Audience Python programmers looking to make their code more reliable, succinct, and expressive Programmers who want to learn OOP, or OO programmers coming from other languages Prerequisites No prior knowledge of functional programming; experience with Python is assumed No prior knowledge of object-oriented programming; minimal experience with Python is assumed
✔ Author(s): Steven F. Lott,Ricardo Banffy
✔ Title: Functional Python Programming: Use a functional approach to write succinct, expressive, and efficient Python code, 3rd Edition
✔ Rating : 4.4 out of 5 base on (25 reviews)
✔ ISBN-10: 1803232579
✔ Language: English
✔ Format ebook: PDF, EPUB, Kindle, Audio, HTML and MOBI
✔ Device compatibles: Android, iOS, PC and Amazon Kindle
Readers' opinions about Functional Python Programming by Steven F. Lott
Leyanne Kemp
Explore the complexities of human relationships in this beautifully crafted novel. The author's nuanced writing and rich character development make for an engaging read. Each storyline intertwines seamlessly, creating a tapestry of interconnected lives. The emotional depth and realistic portrayal of life's challenges resonate deeply. It's a book that stays with you long after you've finished reading. Perfect for fans of literary fiction.
Poppy Anderson
Delve into the dark and twisted world of a psychological thriller that keeps you guessing. The author's masterful storytelling and complex characters create a gripping narrative. Each plot twist is meticulously crafted, adding to the suspense. The tension builds with each chapter, making it impossible to put down. It's a chilling and captivating read that explores the depths of the human psyche. Perfect for fans of psychological suspense.
Dayne Holt
Follow the heartwarming journey of a group of friends navigating life's challenges together. The author's empathetic writing and well-developed characters create a deeply emotional experience. Each chapter explores themes of friendship, love, and resilience with sensitivity. The plot's twists and turns keep you engaged throughout. It's a story that celebrates the bonds that connect us. Perfect for readers who enjoy stories about friendship and community.
Killers of a Certain Age, Introduction to Human Services, An: Policy and Practice (The Merrill Social Work and Human Services), The Injustice, The Winter Room (Scholastic Gold), Super Easy Vegan Cheese Cookbook: 70 Delicious Plant-Based Cheeses, PHR Study Guide 2021-2022: Exam Prep Book with Practice Test Questions for the Professional in Human Resources Certification, Escape from Aleppo, Mental Health Workbook: 6 Books in 1: The Attachment Theory, Abandonment Anxiety, Depression in Relationships, Addiction, Complex PTSD, Trauma, CBT Therapy, EMDR and Somatic Psychotherapy, The Mirror, Winterset Hollow: A Novel,