Hacker News new | past | comments | ask | show | jobs | submit login

It's not clear; you suddenly have to read 5 times more code, your code no longer makes intent clear. You now have to understand the intent of multiple loops and make sure you're not introducing subtle bugs.

I cannot see a single way in which that is objectively "better".




More code does not mean less clear. I've seen some really hairy list comprehensions that I broke out into 3 loops and made them 1000x more clear, because you could actually follow what each conversion was doing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: