perl

Oct 11, 2007 02:18

ugh, I'm trying to fix some bad old perl scripts. I wrote them, but they make no sense to me. Some wonderful "features":
  • a line of code is commented with the ominous: # MISERABLE HACK
  • the variable $crazytime. I don't know what it does :(
  • some syntax in this code breaks vim's syntax highlighting. sigh...
This should be a fun night ( Read more... )

Leave a comment

Comments 5

anonymous October 11 2007, 11:58:52 UTC
why do ppl write write-only perl? :P:)

ooo sonic does look cool/fun :)

Gilad

Reply

infohigh October 11 2007, 20:05:35 UTC
write-only perl was cheap and fast. it's teh drugz.

Reply


lambda_calculus October 11 2007, 12:00:02 UTC
I had to learn Perl for work. I'm no longer a computar languages snob, I have been tainted :(

Reply

(The comment has been removed)

lambda_calculus October 11 2007, 22:21:19 UTC
In fact how can you know what is pure without tasting a bit of impure? ;)

Gilad

Reply


secondarylab October 11 2007, 21:37:18 UTC
After years of programming in Perl, I recently taught my co-workers how to debug scripts using the -d flag. I'm such a fan of debuggers, though they still insist that the print statements are the way to go.

Reply


Leave a comment

Up