Friends Don't Let Friends...
Nov. 21st, 2008 01:58 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
...Run Uncommented Code
Oy. Needed some numbers from a figure in my former office mate's dissertation. She didn't have them, and told me she got them through an NCL program she wrote that went straight to generating the figure. So she sent me the code so I can just have it print out the numbers I need.
Of course, it doesn't work right away. And it's uncommented. Completely.
Granted, I write lots of programs for quick calculations (even not-so-quick ones) and don't comment them, but if I'm asked by someone else to use that code, I throw some damn comments in! Might be faster at this point for me to write my own program from scratch to calculate what I need. Oy.
ION, my advisor thought my fellowship application essay and idea rocked. She told me to keep thetree I killed papers I gathered while researching my idea close by, because, if I don't get the DHS fellowship, she thinks we should write a proposal straight to the NSF. How cool is that?
Now, I'm about to go to my math class, where my current decent mood is likely to be squashed by finding out my score on last week's horrid exam. :-\
Oy. Needed some numbers from a figure in my former office mate's dissertation. She didn't have them, and told me she got them through an NCL program she wrote that went straight to generating the figure. So she sent me the code so I can just have it print out the numbers I need.
Of course, it doesn't work right away. And it's uncommented. Completely.
Granted, I write lots of programs for quick calculations (even not-so-quick ones) and don't comment them, but if I'm asked by someone else to use that code, I throw some damn comments in! Might be faster at this point for me to write my own program from scratch to calculate what I need. Oy.
ION, my advisor thought my fellowship application essay and idea rocked. She told me to keep the
Now, I'm about to go to my math class, where my current decent mood is likely to be squashed by finding out my score on last week's horrid exam. :-\
Comments lie.
Date: 2008-11-21 07:17 pm (UTC)Really. :)
Re: Comments lie.
Date: 2008-11-22 01:44 pm (UTC)