Python vs. Perl, which is better to learn?

Chris chris at cmb-enterprises.com
Mon May 6 00:10:46 EDT 2002


In article <f0fd5987.0204300105.51529004 at posting.google.com>,
 gtaylor at lowebroadway.com (Garry Taylor) wrote:

> Chris <chris at cmb-enterprises.com> wrote in message 
> news:<chris-4E0B1A.01281230042002 at corp.supernews.com>...
> > In article <df30afd4.0204292111.31e5914a at posting.google.com>,
> >  xiaotsing_79 at hotmail.com (David) wrote:
> > 
> > > I have a lot of experience in ANSI C/C++, I want to learn a new
> > > language and which it can help me in the work.
> > > I just want to clear which(python or perl) is more comfort for me?
> > 
> > In terms of how it looks, Perl might look more comfortable, but Python 
> > is likely to function more similarly to C++, while C will have more in 
> > common with Perl.
> > 
> > Learn both.
> 
> I use Perl at work day in day out, and use Python for my own personal
> stuff, I would say that Python is better for pretty much everything,
> particularly larger programs, where it's more structured syntax makes
> code easier to read. I quite like Perl for CGI scripting, and little
> 1-page scripts, but would never contemplate using it for a big
> project.

I would have agreed a few months ago.  However, once you understand how 
to write modules in Perl, and how Perl's take on OO works, it becomes 
much easier to create large projects.

Perl6 will definitely help with this also.



More information about the Python-list mailing list