6 ms·
> While the Python code in the previous example is still readable, it gets worse as the complexity of the logic increases. This bit is an aside in the article
by benrutter 1y ago
> While the Python code in the previous example is still readable, it gets worse as the complexity of the logic increases.
This bit is an aside in the article but I agree so much! List comprehensions in python are great for the simple and awful for the complex. I love map/reduce/filter because they can scale up in complexity without becoming an unreadable mess!