Nice synopsis.
To amplify on Python advantage #1: even though I myself prefer to
program in Perl (it's just the devil I'm used to), as everyone
associated with Perl says over and over, TMTOWTDI ("There's More Than
One Way To Do It") in Perl -- this often leads to confusing and
inconsistent syntax ...
I would also add a (conditional) advantage for Perl: if you're used to
coding in languages like C, Perl is perhaps a bit easier to write/parse,
since its block structure is more similar to that of C.
Let's leave off with the religious war, as Nik suggests -- I'm sure
we've all heard it before ... Those are my opinions, and I'm not likely
to change them because of a barrage of flames.
Nik Barron wrote:
>>Can you please explain to me advantages of Python in comparison
>>with PERL?
>>
>
>Uh oh, here comes a religious war :-) The following are all in my humble
>opinion, as a Perl user since 1990ish and a Python user for three years,
>both on "real world" projects (major SGML/database integration work). Flames
>to /dev/null...
>
>>From my perspective, as a user of both Perl and Python, I'd say that Python
>scores over Perl in a few areas:
>
>- Cleaner, more consistent syntax
>- Better object orientation
>- Better support for XML (although this is down to development efforts,
>rather than a weakness of Perl)
>
>Perl wins out on the following:
>
>- Quicker to produce disposable scripts
>- Rgeular expression handling
>- Syntax is often more concise, but at the cost of clarity
>
>There's no overriding reason to jump ship. If Perl does what you need, fine,
>but I would suggest at least looking at Python to see what the fuss is all
>about :-)
>
>Nick Barron
>Manager, E-Services Division
>Pennant Information Services Ltd -- Registered in England No. 3772667
>PGP: CDA8 9DAD 821A 9046 6202 526B 1E3A 58AC A943 4374
>_______________________________________________
>ActivePython mailing list
>[EMAIL PROTECTED]
>http://listserv.ActiveState.com/mailman/listinfo/activepython
>
>
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython