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

Personally, I mostly just avoid using map/filter and use a list/generator/set/dict comprehension as required. I don't find map(foo, bar) much easier to read than [foo(thingamajig) for thingamajig in bar]


Yes, this is I think why Guido wanted to get rid of map() syntax - he prefers comprehension syntax.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: