Poll: Which language should I learn?

+ Post New Thread
Page 1 of 4 1234 LastLast
Results 1 to 15 of 48
Coding Thread, Perl or Python? in Coding and Web Development; So, I reckon I need a new challenge, so want to pick up another language. Which should I choose - ...
  1. #1

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,085
    Thank Post
    511
    Thanked 2,307 Times in 1,783 Posts
    Blog Entries
    24
    Rep Power
    802

    Perl or Python?

    So, I reckon I need a new challenge, so want to pick up another language.

    Which should I choose - Perl or Python?

    Perl looks very much like being stabbed in the face, but is incredibly useful for *nix work.
    Python looks very simple to pick up but is a bit less commonly used.

    So... thoughts?

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,370
    Thank Post
    624
    Thanked 949 Times in 651 Posts
    Blog Entries
    2
    Rep Power
    317
    I voted for Python as I think it's more 'current', has a more appealing syntax and slightly more versatile.

  3. #3

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,085
    Thank Post
    511
    Thanked 2,307 Times in 1,783 Posts
    Blog Entries
    24
    Rep Power
    802
    I've just realised, I've just asked a question much like 'coffee or tea', 'emacs or vi' or 'windows or mac'...

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,370
    Thank Post
    624
    Thanked 949 Times in 651 Posts
    Blog Entries
    2
    Rep Power
    317
    Neither - nano

  5. Thanks to webman from:

    RabbieBurns (18th August 2010)

  6. #5

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,085
    Thank Post
    511
    Thanked 2,307 Times in 1,783 Posts
    Blog Entries
    24
    Rep Power
    802
    Quote Originally Posted by webman View Post
    Neither - nano
    Nano users don't seem to be as rabid as vi and emacs users, so that's ok.

  7. #6


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,447
    Thank Post
    865
    Thanked 839 Times in 662 Posts
    Rep Power
    194
    Perl, if it is usefulness you want. Can't beat it - especially for neat little one offs like batch processing.

    Perl and Python developers (good ones) are rare in the job market - but jobs are correspondingly thin on the ground, if its career you are looking at, maybe look elsewhere.

    Also, use vi. On a PC. Running Linux. Drink Coffee. That's all

  8. #7
    danbuntu's Avatar
    Join Date
    Dec 2009
    Location
    Maidstone, Kent
    Posts
    284
    Thank Post
    0
    Thanked 50 Times in 47 Posts
    Rep Power
    17
    it depends what you want to do.

    Perl is very useful for scripting type jobs, managing servers etc

    Python is used a lot now-a-days in creating desktop apps esp for Linux. There are apps like quickly and acire to help with this as well

  9. #8

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,085
    Thank Post
    511
    Thanked 2,307 Times in 1,783 Posts
    Blog Entries
    24
    Rep Power
    802
    Hmm... Even fight so far. Seems I may end up learning both then... Now, which one to start with. I think Python, as it'll be easier to figure out.

  10. #9
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111
    Python.

    It is easier to understand / start with (IMHO).

    It has a great deal of free books and tutorials.
    I have tagged some at somabc's python Bookmarks on Delicious

    It has a great deal of modules that you can import and start using straight away. No need to reinvent the wheel. eg SciPy, NumPy, PyWin32s.


  11. #10


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,447
    Thank Post
    865
    Thanked 839 Times in 662 Posts
    Rep Power
    194
    Here's an idea: pick a project first. Something you really want to do (or you'll get bored). Then pick the language. As danbuntu says, python is the boss of GUI & games (see frozen bubble), and i'd say perl is the boss of server/web. Or there may be a third wheel, depending on your chosen project...

  12. #11


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,533
    Thank Post
    271
    Thanked 752 Times in 590 Posts
    Rep Power
    218
    Both (at least enough to troubleshoot wierdness).

    Although python has more soul



    <holywar>
    And you should be using vi - who sshs into a random server expecting emacs or nano to be installed?
    </holywar>
    Last edited by pete; 18th August 2010 at 10:16 AM.

  13. #12
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111
    <holywar>
    And you should be using vi - who sshs into a random server expecting emacs or nano to be installed?
    </holywar>
    Real men use ed!

  14. #13

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,370
    Thank Post
    624
    Thanked 949 Times in 651 Posts
    Blog Entries
    2
    Rep Power
    317


    There's an xkcd for just about everything.

    SOURCE: XKCD. LINK: http://xkcd.com/378/
    Last edited by webman; 18th August 2010 at 01:58 PM. Reason: Made credit to the image source more obvious.

  15. 2 Thanks to webman:

    localzuk (18th August 2010), somabc (18th August 2010)

  16. #14

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,492
    Thank Post
    1,184
    Thanked 745 Times in 647 Posts
    Rep Power
    228
    Quote Originally Posted by localzuk View Post
    Perl or Python?
    Python. It's a sensible language, with not too many features that make you wonder what on earth the author was thinking when he included them. It's also more suited to multi-processor applications and larger-scale software development projects, whereas Perl is more suited to quick get-the-job-done 5-line scripts - trust me, I've worked on large applications written in Perl, it isn't suited for that sort of thing. You can write applications in Python to run on Google's cloud infrastructure, which might be worth a look.

    --
    David Hicks

  17. #15

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by webman View Post
    There's an xkcd for just about everything.
    And they all need attributing, in accordance with the license terms.

    Anywho.... Perl is very powerful when you have data to deal with, but it's a weird language (and in six months time, you won't be able to read your own code with all those mnemonics lying around). Python is much easier to pick up.

SHARE:
+ Post New Thread
Page 1 of 4 1234 LastLast

Similar Threads

  1. SQL & PERL....
    By acrobson in forum Scripts
    Replies: 11
    Last Post: 6th November 2009, 05:19 PM
  2. Perl LDAP problem?
    By localzuk in forum Coding
    Replies: 2
    Last Post: 3rd June 2008, 12:31 PM
  3. Perl Moodle framework
    By el8linuxel8 in forum Coding
    Replies: 4
    Last Post: 26th March 2008, 12:03 PM
  4. Perl Help
    By danIT in forum Coding
    Replies: 9
    Last Post: 1st August 2007, 11:35 AM
  5. Backup Perl Script
    By ranj in forum Scripts
    Replies: 1
    Last Post: 30th April 2006, 08:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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