Für diesen Artikel ist leider kein Bild verfügbar.

Functional Programming in Python

(Autor)

Buch | Softcover
109 Seiten
2019
Packt Publishing Limited (Verlag)
978-1-80020-066-1 (ISBN)
33,65 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Learn functional programming concepts and techniques to build Python applications

Key Features

• 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

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.

What you will 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

Who this book is for

If you are a developer looking to create applications in Python using functional programming, this book is ideal for you. You will only need a basic knowledge of Python. Prior knowledge or experience of functional programming is not required.

Martin McBride is a software developer, specializing in computer graphics, sound, and mathematical programming. He has been writing code since the 1980s in a wide variety of languages from assembler through to C++, Java, and Python. He writes for PythonInformer. He is interested in generative art and works on the generatively open source project.

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
ISBN-10 1-80020-066-8 / 1800200668
ISBN-13 978-1-80020-066-1 / 9781800200661
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das Handbuch für Webentwickler

von Philip Ackermann

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90
das große Praxisbuch – Grundlagen, fortgeschrittene Themen und Best …

von Ferdinand Malcher; Danny Koppenhagen; Johannes Hoppe

Buch | Hardcover (2023)
dpunkt (Verlag)
42,90
Programmiersprache, grafische Benutzeroberflächen, Anwendungen

von Ulrich Stein

Buch | Hardcover (2023)
Hanser (Verlag)
39,99