in reply to Re: Are debugging skills atrophying?
in thread Are debugging skills atrophying?

I read this and I think "shell script". Do you have a set of tools you use when youre programming? For example, the above procedure could easily be accomplished by something like this:

#!/usr/local/bin/bash [ perl -c "$1" ] && cp "$1" "`echo $1| sed 's:.pl::g'`.bak.pl" && vim "$1"
(forgive the shellness of the example, and I havent tested it either) -- but this would ensure that you have a working copy saved, that it is good, and you can continue to develop on the new copy. If you train yourself to pause every 12 lines, or (where i usually break) every new sub, you could save yourself a lot of time. I have a lot of scripts like this, I'm curious if you use anything like that.

And yeah, you did recently post something on debugging, and I remember upvoting it. After looking in the Secret Search I see:

I'm sure i'm missing stuff.

brother dep.

--
Laziness, Impatience, Hubris, and Generosity.

Replies are listed 'Best First'.
Re: Re: Re: Are debugging skills atrophying?
by Anonymous Monk on Apr 29, 2001 at 09:45 UTC
    Yes you are missing something: an OS with a file access subsystem that automatically saves old versions of files for you. My friend you are missing the wonders of VMS :-)