As you probably know, I get called quite a lot to customers to “assist” in failing or problematic software projects. Maybe the performance isn’t nearly what it should be, maybe it is so very hard to make changes, maybe it is… one of the thousand and one things that can go wrong, and usually does.
Internally, I divide those projects into two broad categories: The stupid and the nail guns.
I rarely get called to projects that fall under the stupid category. When it happens, it is usually because someone new came in, looked at the codebase and called for help. I love working with stupid code bases. They are easy to understand, if hard to work with, and it is pretty obvious what is wrong. And the team is usually very receptive about getting advice on how to fix it.
But I usually am called for nail gun projects, and those are so much more complex…
But before I can talk about them, I need to explain first what I meant when I say “nail gun projects”. Consider an interesting fact. Absolutely no one will publish an article saying “we did nothing special, we had nothing out of the ordinary, and we shipped roughly on time, roughly on budget and with about the expected feature set. The client was reasonably happy.” And even if someone would post that, no one would read it.
Think about your life, as an example. You wake up, walk the dogs, take kids to school, go to work, come back from work, fall asleep reading this sentence, watch some TV, eat along the way, sleep. Rinse, repeat.
Now, let us go and look at the paper. At the time of this writing, those were the top stories at CNN:
- Egypt deploys troops to quell clashes
- Iraq unrest: 4 soldiers killed, 4 abducted
- Malian troops reach rebel stronghold
- Syrian rebels attack prison
- Dozens killed in Venezuela prison riot
- 3 feared dead in Antarctic plane crash
- Musician held for fake loan applications
Hopefully, there is a big disconnect between your life and those sort of news.
Now, let us think about the sort of posts, articles and books that you have been reading. You won’t find any book called: "Delivering OK projects”
And most of the literature about software projects is on one of two ends: We did something incredibly hard, and we did it well or we did something (obvious, usually) and we failed really badly. People who read those books tend to look at those books (either kind) and almost blindly adopt the suggested practices. Usually without looking at that section called “When it is appropriate to do what we do”.
Probably the best example is the waterfall methodology, originated in the 1970 paper "Managing the Development of Large Software Systems" from Winston W. Royce.
From the paper:
…the implementation described above is risky and invites failure
As you can imagine, no one actually listened, and the rest is history.
How about those nail guns again?
Well, imagine that you are a contractor, and here are you tools of the trade:
They are good tools, and they served you well for a while. But now you are reading about “Nail guns usage for better, faster and more effective framing or roofing". In the study, you read how there was a need to nail 3,000 shingles and using a nail gun the team was successfully able to complete the task with higher efficiency over the use of the standard hammer.
Being a conscientious professional, you head the advice and immediately buy the best nail gun you can find:
(This is just a random nail gun picture, I don’t know what brand, nor really care.)
And indeed, a nail gun is a great tool when you need to nail a lot of things very fast. But it is a highly effective tool that is extremely limited in what it can do.
But you know that a nail gun is 333% more efficient than the hammer, so you throw it away. And then you get a request: Can you hang this picture on the wall, please?
It would be easy with a hammer, but with a nail gun:
It isn’t the stupid / lazy / ignorant people that go for the nail gun solutions.
It is the really hard working people, the guys who really try to make things better. Of course, what usually happen is this:
And here we get back to the projects that I usually get called for. Those are projects that were created by really smart people, with the best of intentions, and with the clear understanding that they want to get quality stuff done.
The problem is that they are using Nail Guns for the architecture. For example, let us just look at this post. And the end is already written.