The Downside to Python’s List Comprehension

I’m divided on Python’s list comprehension ability from the standpoint of support and readability. Shortcuts are all well and good when you code, but you also have to think of those who, after you’ve come and gone, have to figure out exactly what the heck you were thinking. Especially when the product and business peeps clamor for status updates from you hourly when you’re trying to figure out why something broke today!

Python List Comprehension Example

Obviously not one size fits all, but I think you can get the point I’m trying to make.

Be the first to comment on "The Downside to Python’s List Comprehension"

Leave a comment

Your email address will not be published.