Which is better, Perl or Python?

Quora Feeds

Active Member
Sai Janani Ganesan

I like and use both, few quick points:
  • 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 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 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 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.

See Questions On Quora

Continue reading...
 
Similar threads

Similar threads

Top