Current Entries | Archives   RSS

 


Sometimes articles take as long to write as products

Tuesday 30th September, 2008


The first time we attended the ACCU Conference back in April 2007 I was rather struck by how much I would enjoy writing for that audience. I actually started writing an article (something I've not done in a while due to time pressures) while I was there. If I tell you that I started writing it on a PDA using a stylus, you'll probably have an idea of how enthusiastic I was about it at the time).

After the conference ended the draft sat there for months. Every so often when I had a spare few minutes I'd fire up Pocket Word and write a bit more. By this year's ACCU Conference I was feeling guilty about it, and after being rather heavily "leaned on" to present a session at ACCU 2009, I decided to get a bit more serious about it. As ever, work got in the way (specifically, the development of Visual Lint 2.0 so it wasn't until the summer that I had something I was reasonably happy with.

In late August Gail Ollis wrote to me to tell me she was guest editing the next edition of the ACCU member journals CVu and Overload, and asked if I'd be interested in writing a "Visual Studio 101" type article.

That was the kick I needed - and as I had something almost ready, it made sense to submit that rather than write something new. As a result, part 1 of "Taming the Lint Monster" was submitted to the editor for publication this afternoon.

I've reproduced the introduction (entitled "An All Too Common Story") below to give you a flavour of the article:

It's such a common story. Partway through a project, the company starts to become anxious about the number of defects that are being identified in the product, and how long they are taking to fix. Even worse, customers are beginning to notice.

Something must be done. Additional resources are thrown at the problem, but somehow it doesn't ever seem to be enough. The codebase is large, complex and hard to understand and maintain. It is - for all intents and purposes - a "Big Ball of Mud" (not that anyone in the company would know such a term; after all - they are far too busy firefighting to read tech blogs and keep up to date with current trends in software development).

After several months of throwing additional firefighters at the problem, someone has the bright idea? to find out just how much hidden nastiness is lurking in the code base waiting for the right moment to let loose it's wrath on the unsuspecting team.

An appropriate tool is identified and procured, and then the real fun starts - actually using it.

Inevitably, it never quite turns out the way the team (or their managers) expect. Not only does it turn out to be an absolute nightmare to configure and use (after all you never appreciate how much work compiler project files can save you from until you have to maintain something comparable yourself), but when the team do finally get it working to their satisfaction the results it produces are so volumous that nobody quite knows what to do with them. Worse, they contain some really bad news (TM).

As all too often happens, dealing with the issues the tool raises is deemed to be a) too expensive, b) too risky and c) not as much fun as writing new copy-paste code (though nobody is ever quite honest enough to admit to the latter).

The team conveniently forget about the whole experience and go back to compiling at warning level 3 as they always have done. The installation disk for the offending tool is quietly hidden away in a desk draw and forgotten...and of course, the Big Ball of Mud grows ever bigger until the inevitable "lets just re-write it in language 'X'" event a year or two later. With an eye on what language 'X' would look like on everyone's CV, of course...

But it sure did seem like a good idea at the time...

Incidentally, if you are interested in software quality and innovation and haven't joined ACCU, you really should...

Posted by Anna at 7:40pm | Get Permalink