Page de couverture de Guide to: Functional Python and Comprehension Constructs

Guide to: Functional Python and Comprehension Constructs

Aperçu
OFFRE D'UNE DURÉE LIMITÉE

3 mois gratuits

8,99 $/mois après 3 mois. Annulation possible à tout moment.
Profiter de l'offre
L'offre prend fin le 15 juillet 2026 à 23 h 59 (heure du Pacifique).
Autres options d’achat

Guide to: Functional Python and Comprehension Constructs

Auteur(s): Matt Harrison
Narrateur(s): John Edmondson
Profiter de l'offre

8,99 $/mois après 3 mois. Annulation possible à tout moment. L'offre prend fin le 15 juillet 2026 à 23 h 59 (heure du Pacifique).

Acheter pour 9,06 $

Acheter pour 9,06 $

Functional Programming and Comprehensions

Functional programming is a somewhat hidden aspect of Python. Though it supports many of the functional constructs, the style is not widely adopted. On the flip side, functional programming appears to be making a resurgence because of the benefits it can provide.

Comprehensions are an alternative Pythonic construct for programming in a similar manner. These are features of Python that are commonly used instead of their functional counterparts. This book covers:

  • List comprehensions
  • Generator expressions
  • Set comprehensions
  • Dict comprehensions

Write Python code like the masters

These constructs, while not necessary per se, allow you to be more succinct, reuse code, and think about code in a different way. You will learn:

  • How the constructs work
  • When to use them
  • Real-life examples from the standard library
  • To understand other' 'code

This book covers many of these intermediate constructs that are available in Python. The book covers both Python 2 and 3. Topics include:

  • Functional programming
  • List comprehensions
  • Generator expressions
  • Set and dict comprehensions
©2013 Matt Harrison (P)2015 Matt Harrison
Gestion et leadership Programmation et développement de logiciels Technologie Programmation Entreprise Gestion Logiciel Développement de logiciels Direction
adbl_web_anon_alc_button_suppression_t1
Pas encore de commentaire