Home > Undefined > 02:48

02:48

May 10th, 2009

Obviously, I’m not sleeping again. This always comes in spells. Today was a busy day. I worked on the mower, setup/assembled a fan and water cooler at the office, cleaned the gutters, hung some art, patched a bare spot in the yard, sprayed all of the weeds, blah, blah, blah… I should be tired. I didn’t nap today but I did consume 5 glasses of Pepsi. That’s probably why I’m still awake.

Since I’m up, I’ve been writing code. Fixing bug. Created new ones. ;-) The average programmer makes 3 mistakes in every 100 lines of code written. I’m trying to fix and streamline some existing code. Hopefully, that will limit my current defect output. I added 7 new features, made 5 changes and fixed 2 defects (bugs). New features are just that, new stuff. Sometimes the feature is something I’ve been working on for a while. Other times, it is all new code, created in this coding session. Changes can be simple changes to the way something works, as in a change in the logical work flow. Other times, they can be generated when I’ve adjusted my direction and I’m dropping a chuck of code that isn’t being used or wasn’t working like I had hoped. Bug fixes are self-explainitory. One fix tonight was fixing the sorting of dates in a datagrid. It’s simple. Just toggling a single value on one screen. That kind of stuff. I have one more class of items, work items. That’s the stuff that is in-process. These are not yet complete and production ready features, but something that I’m working on. How do I know what I’ve done? I keep a change log. That way I know what’ve finished and my customers can see what a new version contains. Also it becomes a reference point if a new bug pops up. If I can tie it back to a specific change, then I’ve got an idea of where the problem code is. I should be using TDD, but this project has evolved into a mess. I’ve already started a new version using WPF. If I switch over to WPF, separating the logic and UI will be much, much easier and that leads to better testing practices.

While I code, I’ve been listening to 989TheBear.com out of Fort Wayne. I switched over to my MP3 collection a while ago. American Soldier by Queensryche is playing right now. It is a really good album. It has taken me a few listens to get into it, but it is really good. Complex. Layered. Really good stuff. I’ve been listening to the new G n’ R as well. I’m really liking that one as well. It played when I was riding yesterday and again when I was out running errands.

As I type, I keep looking back at my code and updating all of the changes, new features, bug fixes and work items. I guess I should either go to bed or get back to my code…

Comments are closed.