//TODO: Test this thoroughly!!!!!!

Posted by Edward Boyle on Techlexic See other posts from Techlexic or by Edward Boyle
Published on Tue, 30 Nov 2010 07:08:17 +0000 Indexed on 2010/12/06 17:00 UTC
Read the original article Hit count: 633

Filed under:
|

I just ran into an ugly sight in my code:

//TODO: Test this thoroughly!!!!!!
    private void ...

I would very much like to go back in time and ask the past me what I meant, why did I add that TODO:? …And then, smack the s%#t out of him. No matter how much testing I do of this code I will always wonder if the past me found something. Was it actually that code or was it a calling method that may bring unwanted results. The fact that I find absolutely nothing wrong with the code makes it that much more haunting.

The moral of the story; when you find something wrong and need to test it thoroughly, stay up another hour testing it. The clarity in your head at that moment, on that issue, at that specific moment in time, would take hours worth of commenting to justify not finishing it now.

Maybe what I meant was:

// TODO: Test this thoroughly!!!!!!
// All seems fine but test it just in case, not to worry.
    private void ...

Doubt it. -I’m screwed.

© Techlexic or respective owner

Related posts about Nocturnal Thoughts

Related posts about Rantish