On Wed, May 30, 2001 at 01:58:18PM +0200, ben wrote:
> Allan Rae a écrit :
> 
> > [...]
> >
> > Anyway, past discussions have usually ended up with Python as best because
> > it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
> > bad idea because no-one cares to type all the ()'s and Perl as a possible
> > second language.
> 
> What are the advantages of python in comparison to perl? For what purpose this
> language was developped for? I ask this because I don't know this language...
> Besides, I agree that scheme/lisp is perfectly horrible.

  Python is a general purpose, script language.
  
  I will not tell you what are the advantage of python over perl, I will
just tell you why I like python over perl.

  I have used perl before, and now I use python because the syntax is very
clear, the programs are easy to read after two years without looking to them.

  I like the clear OO model over the one in perl.

  Most of the time I use it as prototype language before passing it to
C(++), when I need speed.

  Other times I use it as glue language both to write the tools I use to
treat the simulation data I get and to automate the action of different
other programs.

  The clear syntax is a big win for me, and although it is possible to write
programs that are easy to read with perl it is a lot more dificult to do so.
  
  I need lots of time to use number crunching programs and the Numerical
module is superb for that. I mention this because python is very easy to
extend. That was the reason why the authors of the Module decided to use it.

  All the aspects of the language appear to be very well thought, and this
is a feeling that grows as you learn more about it.

  One other feature I like is ability to run it in an interactive session.
  
  Just some thoughts, there is very good documentation at
http://www.python.org

> BG

  A-python-convict ly
-- 
José

Reply via email to