[Tutor] perl to python?
Blake Winton
bwinton@latte.ca
Mon Dec 2 21:56:00 2002
* Sean 'Shaleh' Perry <shalehperry@attbi.com> [021202 20:50]:
> On Monday 02 December 2002 12:13, Lance wrote:
> > Is there a Perl to Python conversion program?
> nope. For many things it is not trivial to implement. A human
> can do a reasonable job if he knows both languages. However
> you still have to deal with Perl modules, Python modules, etc.
And even if there was, in the end you would just get Perl code
written in Python.
Trust me, I worked on a Visual Basic to Java convertor. The Java
it produced worked, and worked faster than the Visual Basic, but
it was neither maintainable nor half as fast as a rewrite would
have been. Most of the time, I'm against starting from scratch.
In this instance, however, I think it would have been far better
to do the rewrite, and fix the archetecture while you're at it.
Later,
Blake.
--
9:51pm up 30 days, 2:52, 1 user, load average: 2.00, 2.00, 2.00