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

Set comprehensions are normal in mathematics and, barring very long complex ones, I find them the easiest to parse because they are so natural.

They're just a tad more verbose in Python than mathematics because it uses words like 'for' and 'in' instead of symbols.



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

Search: