Finding list comprehensions incomprehensible? Having trouble figuring out when to use list comprehensions or just plain for
loops? Are your coworkers overusing comprehensions?
Come to this talk and learn the how, when, and why of list comprehensions.
We’ll discuss:
for
loop into a comprehensionComprehensions are a unique tool for a unique task. Even if you dislike them, understanding how they work will help you better understand the Python code you find in the wild.
You’ll leave this talk with a better appreciation for both the use cases for comprehensions in Python and an understand of when not to use them.