Python's "only one way to do it" philosophy isn't good?

Paul Rubin http
Tue Jun 26 19:03:33 CEST 2007

Andy Freeman <anamax at> writes:
> And he's wrong, at least as far as common lisp is concerned - map does
> exactly that.

"sequence" there just means vectors and lists.

> Map doesn't work on generators or iterators because they're not part
> of the common lisp spec, but if someone implemented them as a library,
> said library could easily include a map that handled them as well.

Right, more scattered special purpose kludges instead of a powerful
uniform interface.

More information about the Python-list mailing list