I developed these laws over a 17-year career in software consulting, much of it as an independent, but also in somewhat larger organizations. There are three:

  1. You can't make people succeed.
  2. Projects always end.
  3. You don't work for the client.

Let's take them one at a time.

You can't make people succeed

This is really more a law of the universe than a law of consulting, but it applies in consulting quite a bit. We are often brought in on a project that is in trouble, or that can't do something, or that is otherwise struggling, and the assumption is that we'll be able to turn it around.

But the truth is that sometimes people don't actually want to succeed. They may think they do, and they may emotionally want to, but they aren't prepared to make the changes that would correct the structural, infrastructural, or cultural problems that are actually preventing their success. Nothing you can do will change that. I haven't seen anything in my entire career, or frankly my life, to suggest that this isn't true in basically any situation.

Note that this doesn't mean you can't help people succeed. Just that you can't stop them from failing.

Projects always end

As a software consultant, when you walk in there is an implicit assumption that the product you will deliver is the code. But the real thing you're developing, or at least a part of it, is an understanding of how the system works. When you leave, you necessarily take your version of that understanding with you. See Lucifer's Choice.

Since projects always end (you're not going to be a consultant until the heat death of the universe, or at least not for this particular customer), you need to think about what it means to hand that understanding off, to put it into other people's heads. Write documentation, teach, mentor, pair program: whatever makes sense in order to transfer that understanding as best you can. You can't do it with 100% efficiency, of course. There's no substitute for actually building a system, and no substitute for the experience you bring in the door. But you should try your best.

Again, this isn't exactly a law of software consulting. As I write this, I'm on the cusp of retiring from my job, and I'm being asked to transfer my knowledge to other people as best I can. Of course, that's impossible to do with full fidelity. But you should do what you can, and be thinking about it from the start.

You don't work for the client

A phrase often gets bandied around, in some version of "We're like family," or "You're part of the team," or "You're just like an employee." It's a noble aspiration, the idea being that as a consultant you'll always put the client's interest first.

The thing is, I've been in a few situations in my career where the interest of the client and the interest of my employer, the consultancy, conflicted. In those situations, even holding myself to what I'd consider a fairly high ethical standard, it was clear what my choices were going to be, and they were going to align with my employer and not the customer. I think that alignment is inevitable. It's human nature, and it's basic economics. But it's important to keep in mind.

If you're hiring a consultant, great: look for somebody who will put your interest as high as they can, but realize that when it comes right down to it, if they have a choice, there's really only one way they can choose. And the same applies in the other direction: if the customer can't pay, or is facing difficulties of its own, you're going to be last in line. So you're not working for them. You do the work for them, but you don't work for them.