Re:It's not what programming languages do, it's what they sh...
by Chris2048 on Friday March 27, 2020 @09:44AM
(#22702744)
> Python shepherds you into using list comprehensions
I'd argue LCs have more limits than loops, and hence are easier to read (because you can make more assumptions about what it does). That said, I find nested comprehensions harder to read.
I'd argue LCs have more limits than loops, and hence are easier to read (because you can make more assumptions about what it does). That said, I find nested comprehensions harder to read.