News for hackers. Stuff that matters.
Re:Python List Comprehensions Explained Visually by darkerside on Wednesday December 02, 2015 @08:35PM (#10667158)
From the Zen of Python: > There should be one-- and preferably only one --obvious way to do it.

If you have something written as a simple for loop, there's a real danger that you're moving in the wrong direction by translating it into a list comprehension.

There are no comments on this comment yet.