Linked by Thom Holwerda on Fri 10th Sep 2010 14:59 UTC
General Development Python programmers shouldn't get too smug. While many people agree that Python is designed in a way that makes it a highly readable language, there can still be problems with legacy, untested Python code too. Porting legacy Perl to Python can be a daunting task. In this article, learn some of the theory behind dealing with legacy code, including what not to do.
Thread beginning with comment 440491
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Why would I want to do it?
by trenchsol on Sat 11th Sep 2010 14:27 UTC in reply to "Why would I want to do it?"
trenchsol
Member since:
2006-12-07

Perl isn't for everyone. Some people never feel comfortable with Perl. It is quite different from other languages. I am one of those people. Couple of years ago I've replaced parts of old Majordomo 1.9x MLM with my own Perl code, and it worked, but I don't think I've really learned the language....

In fact, I think that people should not try to use Perl code if they are not confident in their Perl skills. It is better for them to write their own modules from scratch and stay away from Perl completely.

Python is much more, well, mainstream, easier to learn, and, majority of people would say that the code is easier to maintain.

Reply Parent Score: 2

modmans2ndcoming Member since:
2005-11-09

how is python more mainstream than perl?

Reply Parent Score: 2

trenchsol Member since:
2006-12-07

I've used the phrase "well, mainstream", so you don't have to understand it literally. What I meant is that syntax looks more like some other popular languages, like Java, JavaScript or C#.

I am aware that there is, probably, more Perl code than Python code out there.

Reply Parent Score: 2