Lazy Looping: The Next Iteration

Wednesday 3:10 pm to 3:40 pm, in Salon A-E

About This Talk

Embracing Python’s iterators and generators often allow us to drastically restructure our code for the better. They allow for writing code more like a recipe of descriptive steps, which often improves code readability.

We’ll start off this talk by reviewing iterables, iterators, and generators. Then we’ll take a detailed look at a number of interesting and useful leverage Python’s fancy iterators and generators for good.

We’ll learn about iterators and generators and discuss making your own. We’ll also discuss best practices around using and creating iterable helper functions that are iterator-aware.

Attendees will walk away from this session with specific actionable recommendations for refactoring their own code as well as a wealth of new topics to look deeper into after the session.


    Photo of

    Trey Hunner

    Trey Hunner helps Python developers level-up their skills through his weekly Python skill-building service, Python Morsels. He also helps teams turn experienced developers into experienced Python developers through on-site Python training workshops and courses.