Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Programming Brain-Cramp

by RhetTbull (Curate)
on Aug 20, 2001 at 20:31 UTC ( #106261=note: print w/ replies, xml ) Need Help??


in reply to Programming Brain-Cramp

Two things I've done that both drove me nuts. The first was, while editing a C file, I dropped into the shell to do something, got distracted and forgot what I was originally working on so I fired up the editor again, made a couple hours worth of changes then saved and went one my merry way. Later I discovered the original instance of the editor, saved my work (doh!) and exited only to find out I'd wiped out the last couple hours worth of work by saving the old file over the new one!

The second thing (and sadly this took me two days to discover) was debugging an old Fortran program that dealt with time. I had accidently used the variable "M" as both month and minute. Drove me crazy trying to figure out why the program worked sometimes and not others. I now use very descriptive variable names ;-)


Comment on Re: Programming Brain-Cramp

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://106261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-08-29 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls