Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've taken to writing complex comprehensions like this over multiple lines (which I initially thought wasn't possible!). It's still a bit awkward, but the order of "fors" is the same as if one was writing nested for loops, which makes reasoning about it easier for me.


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

Search: