How do I make the most of this shitty legacy code base?


Oh no! You’ve been given a new team to lead, and they’re working on this horrible legacy code base that everyone hates!

Nobody enjoys working on this code. Team members are going through the motions with no interest in what they do, repeating the same terrible patterns and either counting the days to retirement or actively looking for more exciting work elsewhere.

Here are three things you can do to make things better, for yourself and for your team:

1. Identify the value being delivered.

It might seem like there is none, but this is unlikely to be the case. The code exists for a reason, right? What’s it doing that makes it worthwhile to the rest of the company?

2. 80:20: Find the SMALL thing that can be improved INCREMENTALLY to make a big difference.

Get the whole team involved. This can be a fun exercise. Find the SMALLEST thing that will make the BIGGEST difference, then break it down into even smaller steps, and do them. Together. One at a time.

3. Throw something away!

There’s got to be at least one thing in there that nobody actually needs. Find it. Throw it away. Then throw a party and celebrate.

Want to talk through technical leadership in more detail? Join the workshop!

On Fri 4th July '25 in Cornwall in the UK, at 11am, I'll be running a workshop at Agile on the Beach, titled Technical Leaders for Humanity – the helpful card game. Click here for more info.

Agile on the Beach countdown:

Count down to 2025-07-04T10:00:00.000Z

Clare Sudbery

Don't miss my next post! Subscribe to my Technical Leadership newsletter and learn a bunch of useful stuff about effective technical leadership.

Read more from Clare Sudbery

How will you fit through those holes? "I'm worried my current position only works at my current company. I moved up fast because soft skills come naturally for me. I prevent any office politics from affecting my devs, and they have the freedom of implementation at an execution level. But ask me to implement code for multi-threading? I am starting from 0." You are not alone When I'm running workshops with technical leadership, I see concerns like these raised repeatedly. People who started out...

I've been freelance for three years now, and I admit it: I haven't had a very cohesive plan. I've been reactive, saing Yes to all the things and going where the wind blows me.Well, last year I decided enough was enough. I started saying No instead of Yes. I even bought myself some hologrammatic gold stickers and made myself a little chart: Every time I said No, I got a gold star. Just say NO Since then, I've been doing a whole series of exercises designed to help me decide what I should be...

All humans have problems from time to time One of the hardest parts about a leadership role is the fact your team are PEOPLE with PROBLEMS and that’s hard to ignore. You might be aware that one of your team members is privately suffering. You might hope you can just ignore it. Or maybe you desperately want to help, or feel like you should help, but either way you don’t know how. First things first: You’re (probably) not a therapist. It’s absolutely not your job to fix people’s personal...