Functional Python Programming: Use a functional approach to write succinct, expressive, and efficient Python code, 3rd Edition

Price: $22.39
(as of Nov 22,2024 11:19:32 UTC – Details)


From the Publisher

Functional programming bookFunctional programming book

LambdaLambda

expert insight bookexpert insight book Key Features: For Python programmers new to functional programming, or with some publicity in one other language​ Coverage of important functional Python libraries in addition to add-ons​ A complete set of workout routines on the finish of each chapter that construct on chapter content material​

What is functional programming and why is it helpful?​

Functional programming rests on a few foundational ideas, centered on utilizing perform definitions in varied mixtures to implement the processing you want. A key factor of utilizing capabilities is a choice for utilizing stateless objects like Python strings, numbers, and tuples.​

For knowledge analytics and machine studying purposes, the functional model typically suits properly with knowledge cleaning and transformation pipelines.

The functional approach is distinct from object-oriented (OO) programming:

It tends to keep away from object creation This can considerably scale back reminiscence use and enhance efficiency, compared with OO methods​ Since Python just isn’t a purely functional language, some OO methods shall be a part of the implementations. This means we will make use of one of the best elements of each paradigms.

build data processing pipelinesbuild data processing pipelines

rewrite recursionsrewrite recursions

use high-order functionsuse high-order functions

functional programming bookfunctional programming book

What’s new on this version of the guide?​

We’ve coated a few new packages, toolz and pyrsistent, which can be typically useful for writing functional applications.​

We’ve expanded the protection of immutable knowledge buildings to embody NamedTuple and frozen @dataclass lessons. This consists of utilizing the pyrsistent module for immutable objects that may evolve by emitting an object of the identical class in a revised state.​

You’ll additionally discover examples of the brand new match assertion, which has type-matching options typically utilized in different functional languages. All sort hints have been revised to match Python 3.10 definitions, following PEP-585. Finally, a full set of workout routines have been added to every chapter.​

All of the instance code is unit examined, and supplied within the GitHub repository for the guide. This course of works by analyzing the entire code and console examples within the guide’s supply and inserting the code into a context the place it’s testable. There are about 250 take a look at circumstances 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 extra!

Page Count
576 pages 714 pages

Edition
Third Fourth

Target Audience
Python programmers trying to make their code extra dependable, succinct, and expressive Programmers who need to be taught OOP, or OO programmers coming from different languages

Prerequisites
No prior information of functional programming; expertise with Python is assumed No prior information of object-oriented programming; minimal expertise with Python is assumed

Publisher ‏ : ‎ Packt Publishing; 3rd ed. version (December 30, 2022)
Language ‏ : ‎ English
Paperback ‏ : ‎ 576 pages
ISBN-10 ‏ : ‎ 1803232579
ISBN-13 ‏ : ‎ 978-1803232577
Item Weight ‏ : ‎ 2.16 kilos
Dimensions ‏ : ‎ 7.5 x 1.3 x 9.25 inches

Tags:

We will be happy to hear your thoughts

Leave a reply

Udemy Courses - 100% Free Coupons