Results 1 to 5 of 5

Thread: perl or python

  1. #1
    Join Date
    Dec 2002

    perl or python

    I was just wondering which is better or more powerful of the 2

    I never tried perl, but I love python.

    What U think

  2. #2
    Senior Member
    Join Date
    Nov 2002

    Take a look at http://www.perl.com/pub/a/language/versus/python.html it is at the Perl site but at least they name some of the features of both languages.

    Hope it helps you.

  3. #3
    Join Date
    Sep 2002
    along the same lines, i've been thinking about learnng perl for some time.
    Does anyone recomend a good book or web site on the subject?

    \"I can resist everything, except temptation.\" - Oscar Wilde

  4. #4
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    For Perl, Programming Perl is the best book on the subject. It's written by the language's author. Ya can't go wrong with that.

    As for the subject of "which is better", it really depends on what you're doing. Perl has it's niche as a scripting language and CGI platform, and on both of those fronts it does Wonderfully. Python is a bit more strict of a language, but it makes up for it in robust-ness. Larger applications would probably be done easier in Python than in Perl.

    Perl was built on the backs of text editors, and so it's a whiz at manipulating text. It also has been around longer than Python, and the support for it is vast. You could probably find modules for Perl that do just about anything these days. Larger applications, however, tend to look extremely messy and convoluted.

    Python was built from the ground up to be a general purpose scripting language, and it's proven itself to be quite versitile. Even video games like Project Entropia are using it as an AI scripting language. That's pretty impressive.

    So check what you are trying to do with your language and see what happens. For regular shell scripting and the occasional CGI, Perl makes for some quick development. If you're going to be writing some more extensive applications, go with Python.
    /* You are not expected to understand this. */

  5. #5
    Senior Member
    Join Date
    Nov 2002
    Python compared to all languages :

    Lots of comparisons :
    \"I have a 386 Pentium.\"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts