Gratuit avec l’offre d'essai
Écouter avec l’offre
-
Guide to: Functional Python and Comprehension Constructs
- Lu par : John Edmondson
- Durée : 1 h et 28 min
Impossible d'ajouter des articles
Échec de l’élimination de la liste d'envies.
Impossible de suivre le podcast
Impossible de ne plus suivre le podcast
2,95 €/mois pendant 3 mois
Acheter pour 6,88 €
Aucun moyen de paiement n'est renseigné par défaut.
Désolés ! Le mode de paiement sélectionné n'est pas autorisé pour cette vente.
Vous êtes membre Amazon Prime ?
Bénéficiez automatiquement de 2 livres audio offerts.Bonne écoute !
Description
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