5 ms·
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 tha
by EE84M3i 5y ago
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]
- robertlagrant 5y agoYes, this is I think why Guido wanted to get rid of map() syntax - he prefers comprehension syntax.