Monday, April 20, 2009

Logging Should Be Added Early

The problem with starting a project just to see what happens is that you always forget the important things, because they "slow things down".

Like logging. When I was just poking around with a couple of components, wiring them together crudely, it didn't matter. If I wanted to see what the program was doing, I'd just break in with the debugger. Nothing to it.

Of course, now that I'm actually trying to get things to work well, logging is suddenly important. The only thing that is saving my ass is that I'm rewriting large chunks to better suit my scenario, so I can add logging at that point.

The only thing dumber than putting off logging is putting off a test suite!

Aw, hell...

No comments:

Post a Comment