Nguyen Le Phong

From Software Engineer to Technical Manager: Three Habits to Rewrite

Moving into management rewrites the habits that got you promoted: how you see code, how you count a good day and how you hand off work, with real examples.

Week three as a new manager. It's 4pm, a teammate has been stuck on a flaky payment test since lunch, and you can see the fix from across the room. Twenty minutes, tops. So you pull up a chair, take the keyboard and push the fix. It feels great. Two months later every hard ticket on the board has your name on it, the team waits for you before deciding anything, and you're writing code at 11pm because your days are full of meetings.

That's the trap most engineers walk into when they move to management, and it's an honest one. The habits that got you promoted were good habits. They just belong to a different job. Charity Majors, who has gone back and forth between the two roles, puts it bluntly: "You can only really improve at one of these things at a time: engineering or management" (The Engineer/Manager Pendulum).

This post covers three habits that need rewriting: how you see code, how you measure a good day, and how you hand off work. None of them means you stop being an engineer.

Every line you merge is something to maintain

As an engineer, more code usually feels like progress. A new feature, a neat abstraction, a module you're proud of. Each one is a small proof that you can build things.

Once you own a product for years, the same code looks different. Google's engineering book starts its discussion of deprecation from a premise that surprises a lot of people: "code is a liability, not an asset." Their point is practical. If code were pure value, nobody would spend effort removing old systems (Software Engineering at Google, ch. 15).

Two sides of the same line

Each line of code is a feature today and upkeep from tomorrow on: tests to keep green, dependencies to patch, performance to watch, edge cases that show up six months later. The more code a system holds, the more places a bug can hide.

So part of the job becomes deciding what not to build. In practice that looks like:

  • Asking "who maintains this a year from now?" before you say yes to a clever business rule that three customers asked for.
  • Saving room in each sprint for cleanup, and defending it when a deadline gets loud.
  • Deleting a feature nobody uses, even though someone on the team worked hard on it. Thank them, then delete it.
  • Pushing back on a complex flow with numbers: how many users it serves and how many hours it will cost to keep alive.

Some quarters the team will ship features and pay down old structure at the same time, and it'll feel heavy. That work buys you speed later. A smaller, cleaner system leaves more room to build the things users actually notice.

A tech lead and a teammate look over architecture printouts and a dependency map, marking which parts of the system to simplify before adding more logic.
Before adding a feature, ask what it will cost to keep running next year.

Your good days stop adding up and start multiplying

As an engineer, a good day is easy to count. Three tickets closed, two nasty bugs fixed, one junior unblocked. Add it up and you feel useful.

Keep counting that way as a manager and you'll do exactly what the opening scene did: take the hard work yourself because it's faster. Each time, the team loses a chance to learn the hard part, and you become the step every decision has to pass through. Your own output can be excellent while the team's output stays flat.

Google actually tested whether managers matter. In the early 2000s, some people inside the company believed they didn't. Project Oxygen went through more than 10,000 data points from performance reviews and feedback surveys, plus interview notes, and found that good managers made a real difference. The behaviors they wrote down start with "Be a good coach" and "Empower the team without micromanaging." "Have key technical skills" is on the list too (Google re:Work). Your engineering judgment still counts. It just stops being the whole job.

A manager raises the whole team's output through three multipliers: architecture, people and process. THREE MULTIPLIERS Team output ↑↑ more shipped, same headcount × × Architecture modules · shared code one source of truth People teach how to debug, then step back Process automation · observability shared conventions
An engineer grows output with their own skill. A manager grows it through architecture, people and process, so the team ships more without needing more heroes.

Here's what each multiplier looks like on a normal week:

  • Architecture. Clear module boundaries keep the team fast as the codebase grows. Shared code means nobody writes the same date parser three times. When a rule lives in one place, one change fixes it everywhere.
  • People. An hour spent writing code for a junior gets you one hour of code. An hour spent debugging next to them, asking "what would you check next?", gets you someone who can debug the next ten problems without you.
  • Process. If each feature is a car, process is the road. You stop driving every car and spend your time on the road instead.
Process pieceThink of it asWhat the team gets
AutomationBrakes and airbagsCI/CD catches risky changes at the gate. When tests and deploys don't depend on someone remembering a manual step, the team can go faster without breaking production more often.
ObservabilityThe dashboardMonitoring and alerts tell you something is wrong before a user complaint does. The team fixes small problems while they're still small.
Shared conventionsTraffic rulesAgreed code style, folder structure and criteria for picking a library end a lot of small debates. People spend their energy on the actual problem.

I learned this one on a real team. When I took technical ownership of an 11-person delivery team (8 developers, 3 QC) after a CTO handover, I spent the first weeks on a 1:1 with each person, watching how work actually moved, and writing a 3, 6 and 12-month growth plan for everyone. The team caught up with its sprint progress within two weeks. I also set clear per-person measures, sprint velocity included.

A tech lead talks two teammates through an architecture sketch at a shared table while one of them keeps the laptop.
Multiplying looks less heroic than fixing it yourself. The payoff is a team that keeps moving when you're in a meeting.

Delegation is easy to say and hard to do

"Leave it, I'll just do it" might be the most common line from managers who came up as engineers. Explaining something you already understand feels slower than doing it. Watching a teammate spend an afternoon on a bug you could fix in twenty minutes is honestly uncomfortable. But here's the math: if the manager always takes the hardest problem, the team only ever practices the easy ones.

Handing someone a Jira ticket isn't delegation either. Real delegation has three parts.

Hand over the what and the why, keep your hands off the how

Be very clear about the problem and why it matters this sprint. Then stop talking. A good handoff message sounds like this:

A handoff that works

"Checkout has been timing out for some orders since Tuesday's release. It matters because the campaign starts Monday. Fixed points: we can't change the payment API contract, and it has to ship by Friday. How you fix it is your call. Want to sync Thursday morning for 15 minutes?"

Build guardrails, then let people take the long way

Delegating with no checks is abandoning someone. Checking every line is micromanaging. The middle is a safe zone: code review, shared standards, a rollback plan, a check-in on the calendar. Inside that zone, let people take the scenic route and sometimes stumble. Mistakes people can recover from are where most of the learning happens.

Live with 80% of your taste

This is the hard one. After all your coaching, the solution might still hit only 80% of what you'd have written. If it works, it's maintainable and the person who wrote it grew, take the deal. Save your veto for correctness, security and things that will hurt in a year. Your preferred variable names can go.

A tech lead stands beside a teammate who keeps the keyboard, adding context while the engineer drives the implementation.
Stay close enough to catch real risk, and far enough back that the keyboard stays with your teammate.

You're still an engineer

A lot of people hear "manager" and think it means giving up engineering. It doesn't. Your technical judgment moves up a level. You still review designs, you still care about quality, you still say no to a bad abstraction. You're just optimizing the system a team works in instead of one function.

Skills fade if you never touch them, though. Charity Majors warns that when you try to be manager and tech lead at the same time, your engineering skills and context-sharpness "are decaying the longer you do it." Her answer is a pendulum: the best technical leaders often go back and forth between the two jobs over a career (The Engineer/Manager Pendulum). While you're on the manager side, keep your hands a little dirty. Read PRs, pair now and then, fix a small bug that's nowhere near anyone's deadline. Just don't own the hardest ticket on the board.

Try this week

  • Look at the board and count the hard tickets with your name on them. Hand one off using the what, why and guardrails message above.
  • Before saying yes to the next feature request, write one line on who maintains it in a year.
  • Next time someone is stuck, ask "what would you check next?" before you touch the keyboard.
  • Pick one manual step in your release process and put it on the automation list.
  • Book a 1:1 with each person on the team if you haven't yet.

For the 1:1s themselves, The Anatomy of a Healthy 1-on-1 has a good structure to start from. And when you're ready to coach someone for the long run, Mentoring Engineers picks up where this post stops.

What did you think?

Frequently asked questions

What changes most when a software engineer becomes a technical manager?
How you measure a good day. As an engineer you add up your own output: tickets closed, bugs fixed. As a manager your output is the team's output, so your time goes into coaching, clear architecture and process that lets the team move without you. Charity Majors puts it plainly: you can only really improve at one of engineering or management at a time.
Why do people say code is a liability?
Because every line you merge has to be maintained: tests, dependency patches, performance and edge cases that show up later. Google's Software Engineering at Google starts its deprecation chapter from the premise that "code is a liability, not an asset." For a manager this means deciding what not to build is part of the job.
Do engineering managers still need technical skills?
Yes. Google's Project Oxygen, which analyzed more than 10,000 data points about its managers, lists "Have key technical skills" among the behaviors of good managers. The same list starts with "Be a good coach" and "Empower the team without micromanaging", so technical skill is one part of the job and no longer the whole of it.
How do I delegate without micromanaging?
Hand over the problem and why it matters, name the fixed points (deadline, API contracts, what can't break), and leave the how to the person doing it. Put guardrails in place, such as code review and a scheduled check-in, then let them take a longer route than you would. Save your veto for correctness, security and long-term risk.
Should a new manager keep writing code?
A little, yes, but stay off the critical path. Review PRs, pair sometimes and fix small bugs nobody is waiting on. If you own the hardest ticket on the board, the team waits on you and loses the chance to learn the hard parts.