Listen free for 30 days

Listen with offer

Offer ends May 1st, 2024 11:59PM GMT. Terms and conditions apply.
£7.99/month after 3 months. Renews automatically.
Pick 1 audiobook a month from our unmatched collection - including bestsellers and new releases.
Listen all you want to thousands of included audiobooks, Originals, celeb exclusives, and podcasts.
Access exclusive sales and deals.
£7.99/month after 30 days. Renews automatically. See here for eligibility.
Pick 1 audiobook a month from our unmatched collection - including bestsellers and new releases.
Listen all you want to thousands of included audiobooks, Originals, celeb exclusives, and podcasts.
Access exclusive sales and deals.
Guide to: Functional Python and Comprehension Constructs cover art

Guide to: Functional Python and Comprehension Constructs

By: Matt Harrison
Narrated by: John Edmondson
Get this deal Try for £0.00

Pay £99p/month. After 3 months pay £7.99/month. Renews automatically. See terms for eligibility.

£7.99/month after 30 days. Renews automatically. See here for eligibility.

Buy Now for £6.39

Buy Now for £6.39

Pay using card ending in
By completing your purchase, you agree to Audible's Conditions of Use and authorise Audible to charge your designated card or any other card on file. Please see our Privacy Notice, Cookies Notice and Interest-based Ads Notice.

Listeners also enjoyed...

Java Programming: 2 Books in 1 cover art
Python Programming cover art
JavaScript Professional Programming Made Easy, 2nd Edition cover art
C#: Programming Success in a Day cover art
JavaScript (7th Edition) cover art
Excel VBA: The Ultimate Beginner's Guide to Learn VBA Programming Step by Step cover art
Machine Learning with Python cover art
Functional Programming in JavaScript cover art
C# - #2020 Updated cover art
Python 3 Programming cover art
Python Programming: Your Intermediate Guide to Learn Python in 7 Days cover art
Python Programming for Beginners cover art
C# Programming Illustrated Guide for Beginners and Intermediates: The Future Is Here! cover art
Javascript for Beginners cover art
JAVA: The Practical Beginners Guide to Learn Java and Javascript in One Day cover art
Learn Java: A Crash Course Guide to Learn Java in 1 Week cover art

Summary

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

What listeners say about Guide to: Functional Python and Comprehension Constructs

Average customer ratings

Reviews - Please select the tabs below to change the source of reviews.