Nov 23, 2008

Gremlins

I think there's a gremlin messing with my code. Code is shifting under me, moving around, unit tests are considered  the work of the devil and keep disappearing from source control. Check-in logs refer to my code as crap, and code seems to be refunctoring itself. I don't think it could be a colleague, surely it must be a mythical creature, a gremlin. This gremlin is a fan of singletons and static metods, and thrives on repeating every piece of logic in at least three places. Unit test appear to be its greatest enemy, and they disappear without trace almost as soon as they are checked in. How do you stop such magical creature? What magic power do I need to make this gremlin go away?

Did anybody else encounter this creature, somebody who can offer some advice as to how to go about banishing this destruction from my code base?