2 ms·
Python could have had generators without having lisp comprehensions, so you don't get to use "generators good" to conclude "list comprehensions good". List com
by anamax 18y ago
Python could have had generators without having lisp comprehensions, so you don't get to use "generators good" to conclude "list comprehensions good".
List comprehensions were initially syntax for loops over generators. The current version introduces another variable scope.