Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

tinman (2063)

  (email not shown publicly)

tinman spent a few years mucking around industry before going back to school for a Masters. Currently not enjoying the weather in North England..

He wrote Perl that looked suspiciously like C code in 1998, while working as an intern, and has been trying to cure that bad habit ever since.

Journal of tinman (2063)

Tuesday June 22, 2004
03:59 AM

perl vs python shootout

[ #19418 ]

A friend (rediscovered recently from Orkut, of all places) is learning Python. I introduced him to Golfing. He tells me about his cool script which scans Symantec's web page and downloads the latest update automatically. I golf it down to fewer lines. Now, the challenge is on.

This is fun, because there is absolutely no "my language rulez if I do it in fewer lines" feeling (ok, maybe there is a little). It's all to make both of us discover our respective languages a bit better. If I remember correctly, Python doesn't do regexes as part of the language (you have to use a Java like compile, match syntax) and Python also doesn't have CPAN. I intend to exploit those two advantages to the hilt *grins evilly*

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.