Python Iterables struggling using map() built-in

Marko Rauhamaa marko at pacujo.net
Wed Dec 10 05:58:22 EST 2014


Steven D'Aprano <steve at pearwood.info>:

> I've noticed this deep-seated conservatism in Python programmers
> before. Parts of the language are deeply under-utilised, because there
> are simple idioms that people refuse to use because they're
> "confusing" even though they are a trivial generalisation of things
> that we use all the time.

IMO, large parts of the language are deservedly under-utilized. This
whole dunder thicket: __complex__(), __ifloordiv__(), __rxor__() etc. Or
this metaclass attribute. Or decorators.


Marko



More information about the Python-list mailing list