1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

perl vrs python

Discussion in 'Python' started by kingportipher, Mar 30, 2012.

  1. kingportipher

    kingportipher New Member

    Joined:
    Jan 27, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    am soo confused and dont know about which of the two languages to learn. any way i want to be more of a website developer and a little of hacking. but dont know exactly what language to start with and links to where to find some valuable tutorials
     
  2. dearvivekkumar

    dearvivekkumar New Member

    Joined:
    Feb 21, 2012
    Messages:
    29
    Likes Received:
    5
    Trophy Points:
    0
    I think if you are sure about doing things mostly related with web programming then you should go with Ruby rather than Python.
     
  3. Louis Zorbas

    Louis Zorbas New Member

    Joined:
    Aug 26, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    I like and use both, few quick points:

    Python:
    • Python is easier to learn, Perl takes a while to get used to and is not intuitive. Perl is great, if you already know it.
    • I use Python for writing reusable code. I personally think OO in Perl is a little odd, and find Python to be more consistent. For example, I find it easier to create modules in Python.
    Perl:
    • I use Perl to write quick scripts using regular expressions, to perform text/data manipulations. If there is anything Perl can do well, it is string manipulations.I like and use both, few quick points.
    • Perl scripts are often messy (it takes me a while to understand my own scripts), whereas, Python is very clean.
    I can't think of anything that you can do with Perl that you can't with Python. If I were you, I'd stick with Python.
     
  4. MarshallN

    MarshallN New Member

    Joined:
    Oct 25, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Gender:
    Male

Share This Page