[issue13804] Python library structure creates hard to read code when using higher order functions

Éric Araujo report at bugs.python.org
Tue Jan 17 17:20:07 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

I think this discussion would be more useful on the python-ideas mailing list.  The request (adding map to sequences) will probably be rejected*, but you have a good chance to get an explanation for this design choice by Guido van Rossum or one of the old-timer core devs.

*I think so because of str.join: people have said that they would prefer a list operation, but it’s always been denied because it would put the burden on any sequency type to implement the method, whereas with a str method then all iterables and iterators are supported for free.

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13804>
_______________________________________


More information about the Python-bugs-list mailing list