"Simon John" <[EMAIL PROTECTED]> writes: > I still love Perl, it's a bit of an art form, as "there's more than one > way to do it", whereas Python usually only allows one way to do it, > which may or may not be a better mantra....
The Python mantra leads to 1) less programmer overhead, and 2) faster improvements in the language. To be a Perl expert, you have to know which of the many ways to do various things is the fasted under what conditions. Python programmers seldom have to worry about that - there's usually only one [obvious] way to do things, so you just do it that way. Having only one obvious way to do things means developers only have to worry about impact on that way when making improvements, which will speed them up. The problem these days is that there are now multiple ways to do a variety of things, because we have the "new, pythonic" way and the "old, backwards-compatible way". So it's no longer clear which is the fastest - and in the case of generators versus list comprehensions, it's not clear which you should be using. To bad. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list