Skip to content

Comprehending Comprehensions

Short Talk at 1:30PM EDT

In this short talk, I will introduce all the key ideas necessary for you to finally understand comprehensions: list, dict, and set comprehensions, plus generator expressions.

I will explain the key argument in favour of list comprehensions and I will show how to turn any suitable loop into its equivalent comprehension.

By the time the talk is over, you'll be much closer to getting your black belt in comprehension-fu.

References: you can get the ebook “Comprehending Comprehensions” and you can find the talk slides on GitHub.

Presented by

Rodrigo Girão Serrão