Python vs. Ruby

David Eppstein eppstein at ics.uci.edu
Wed Jan 1 18:43:35 EST 2003


In article <3759308d.0301011401.4b32deba at posting.google.com>,
 rpgnmets at aol.com (Rob Renaud) wrote:

> So then the question becomes, why don't append(), sort(), reverse()
> return a new list and not modify the original?  Are mutable objects
> themselves a wart on the langauge?

There is a level of purity beyond which a language can become a pretty 
toy instead of a useful tool.

-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/




More information about the Python-list mailing list