list comprehension question
Emile van Sebille
emile at fenx.com
Tue May 5 13:11:08 EDT 2009
On 5/5/2009 9:15 AM J Kenneth King said...
> List comprehensions can make a reader of your code apprehensive
> because it can read like a run-on sentence and thus be difficult to
> parse. The Python documentation discourages their use and I believe
> for good reason.
Can you provide a link for this? I'd like to see specifically what's
being discouraged, as I'd be surprised to find routine usage frowned upon.
Emile
More information about the Python-list
mailing list