April 24, 2007
I &hearts Test Driven Development!

So this is the first week after my six week class marathon, and the payoffs are already showing up. Visual studio did something weird to one of my programs in a very obscure spot, a spot I'd already got working a few hours ago*. The old, quirky, broken way I did things would've kept me from finding that goof for hours, if not days or even weeks, long after I'd forgotten how it was all done in the first place. Even worse, bugs like that can stay hidden until a tester or even (gasp!) a user finds them in production. I built programs this way, and had bugs roar out at me this way, for most of ten years. My stuff worked, eventually, but it wasn't very much fun.

But my new, slick, right way spotted the problem immediately, and I was able to fix it right away. No muss, no fuss! That is teh RoXor!

Oh be quiet. It's all new to me!

----
* Technically, it set the ExecuteMode of the insert query of my dataset from scalar, which returns the ID key of the record just created, to non-query, which just returns 1 (which stands for "true" or, "that worked", I think), which promptly broke the clean-up code right next to it. But you knew that already, eh?

Posted by scott at April 24, 2007 03:31 PM

eMail this entry!
Comments
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?