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
Cedrica Ingram
Follow the gripping tale of a detective unraveling a complex web of crime and corruption. The author's detailed writing and intricate plotting make for a suspenseful read. Each clue and revelation adds to the tension, keeping you on the edge of your seat. The characters are well-developed, with motivations that feel real and compelling. The climax delivers a satisfying resolution to the mystery. A must-read for thriller enthusiasts.
Isabella George
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.
Byrdie Bartlett
Explore the impact of technology on society in this thought-provoking novel. The author's insightful writing and compelling characters create a narrative that challenges your perceptions. Each chapter delves into the complexities of modern life with depth and nuance. The plot's twists and turns keep you engaged throughout. It's a story that prompts deep reflection on the role of technology in our lives. Perfect for readers interested in contemporary issues.
Steel Princess: A Dark High School Bully Romance (Royal Elite), Empath and Psychic Abilities: The Essential Guide to Developing Your Intuition, Protecting Your Energy & Thriving as a Sensitive Person in an Overstimulating World, That Promise: A Small Town, Friends-to-Lovers Romance (That Boy® (Chase & Devaney)), Peace In Music for Flute Solo: A collection of sacred hymn arrangements for Flute Solo with Piano Accompaniment, The Camel Club, One-Punch Man, Vol. 26 (26), I Can Be a Rocket Scientist: Fun STEM Activities for Kids (Dover Science For Kids), Walking the Nile, The Moral Wisdom of the Catholic Church: A Defense of Her Controversial Moral Teachings (Volume 3) (Called out of Darkness: Contending with Evil through the Church, Virtue, and Prayer), Awakening Your Prophetic Voice: Calling Forth Your Identity Through Prophetic Encounters with the Holy Spirit,