Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl VS Python

by tachyon (Chancellor)
on Aug 04, 2001 at 18:33 UTC ( [id://102238]=note: print w/replies, xml ) Need Help??


in reply to Perl VS Python

All languages have their points of strength and weakness except for Perl which is more of a religion than a programming language and has not faults whatsoever :-)

Now that you have my biases firmly stated here are some opinions

Some Perl strengths:

1 Mature language with most of the major bugs ironed out, Python is not. Also Perl has excellent cross platform compatibility - porting is usually a breeze. Oops where is some wood to knock on?

2 CPAN provides a huge *free* repository of quality, tested code to perform almost any task you can think of. There is nothing comparitive for Python.

3 The Perl culture means that a newly annointed saint such as myself will offer their time for free and gratis to someone called supernewbie ;-) The peer support within the Perl community is second to none - this will be a hard act to follow.

4 Perl can be an imperitive, procedural, functional or object oriented language depending on what you want. As a result you can do almost anything in it and better still as your skills grow Perl will continue to deliver.

Perl's major disadvantages are:

1 It is not a trendy newkid on the block.

2 TIMTOWDI and the syntax mean you can write very obfuscated Perl, without even trying - see my sig for instance. It is also very easy to get a script working (Perl or Python) which means that there is a lot of bad code out there - see Matt's Script Archive for some popular all time classics. There will be plenty of crappy Python code in time ;-)

3 As a scripting language it is relatively slow for some tasks but with 1GHz processors (now) and 2GHz soon this is less of an issue every day. Komodo (A Perl IDE) from Active State is written in Python, so you can do major apps in scripting code although this is not without problem see Perl Builder 2.0 where we get onto Komodo which is dog slow on anything but a top range machine.

Always remember that being on the bleeding edge is fine, provided if you are into that kind of thing. You might like to look at Perl Advocacy and Perl as Cr*p? for more discussion on this subject.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Perl VS Python
by Beatnik (Parson) on Aug 05, 2001 at 03:14 UTC
    *celebrating a 400th node'versary...*

    2 TIMTOWDI and the syntax mean you can write very obfuscated Perl, without even trying...

    I disagree... I have been trying very hard writing VERY obfuscated code for months now. Some people just seem to think in obfuscations (ppl like T-Shirt guy one and T-Shirt guy two). I'm pretty confident that it's harder to write hard code than it is to write easy code.

    3 As a scripting language it is relatively slow for some tasks but with 1GHz processors (now) and 2GHz soon this is less of an issue every day.

    Compared too uhm for instance Java, Cobol, BASIC, etc (which clearly aren't scripting languages)?? IMHO it's a platform/hardware issue at most. On the Perl Builder/Komodo thingie... beat me til I'm blue but I like a plain, no nonsense editor on a plain, console based OS.

    I'm going for quantity nodes, not for quality nodes - myself talking to kudra at the Perlmonks BoF (not realizing I'd reach 400 within days).

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://102238]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found