Re: Python or PHP?
- From: Mike Meyer <mwm@xxxxxxxxx>
- Date: Sat, 23 Apr 2005 17:15:47 -0500
"Simon John" <simoninusa2001@xxxxxxxxxxx> 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 <mwm@xxxxxxxxx> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
.
- Follow-Ups:
- Re: Python or PHP?
- From: John Bokma
- Re: Python or PHP?
- References:
- Python or PHP?
- From: Lad
- Re: Python or PHP?
- From: Kirk Job Sluder
- Re: Python or PHP?
- From: Simon John
- Python or PHP?
- Prev by Date: Re: func_code vs. string problem
- Next by Date: Re: PDF Printing support from Python
- Previous by thread: Re: Python or PHP?
- Next by thread: Re: Python or PHP?
- Index(es):
Relevant Pages
|