Andrew Breza

59%
Flag icon
My rule of thumb in choosing the syntax to use is simple: if the generator expression spans more than a couple of lines, I prefer to code a generator function for the sake of readability.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview