Generators: Powering Iteration in Python with Luciano Ramalho
Iterables, iterators and generators are a key subject for effective Python usage, especially when processing large-scale data sets. Do you know why zip(*M) allows efficient traversal of a matrix M by columns? From the elegant for statement through list/set/dict comprehensions and generator functions, this talk shows how the Iterator pattern is so deeply embedded in the syntax of Python, and so widely supported by its libraries, that some of its most powerful applications can be overlooked by programmers coming from other languages.
Luciano Ramalho
Luciano Ramalho is a Technical Principal at ThoughtWorks and the author of Fluent Python (O’Reilly, 2015; available to ACM members in the ACM Learning Center). Ramalho was a web developer before the Netscape IPO in 1995, and has worked on some of the largest news portals in Brazil using Python since 1998. He has spoken multiple times at OSCON, PyCon, PythonBrasil, FISL, and RuPy. Ramalho is a fellow of the Python Software Foundation and co-founder of Garoa Hacker Clube, the first hackerspace in Brazil. He is a member of ACM as well as SIGCSE (the ACM Special Interest Group on Computer Science Education).