News for hackers. Stuff that matters.
Re:Python List Comprehensions Explained Visually by omaranto on Thursday December 03, 2015 @11:40AM (#10670534)
Well, rewriting a 80+ line comprehension as an 80+ line series of nested loops and conditionals wouldn't increase readability in my opinion. What would make it easier to read is to divide the computation into several smaller steps, which could be done either with several comprehensions or several loops.

There are no comments on this comment yet.