Step 33 of 35 · Yourself
When to write the code yourself
Stay in the code enough to judge well. Choose each piece by what it does for the team, not for you.
If you stop coding, your judgement goes stale and the team stops trusting your technical calls. If you code as before, you neglect the rest of the role. No fixed ratio settles this. Ask one question each time: what does the team get from me doing this?
Good reasons: to learn a part of the system you have to make decisions about, to prove a risky approach before others build on it, to remove a recurring pain nobody has time for, to feel the build and tooling as your engineers do.
Bad reasons: it is faster if you do it, you miss it, or you do not trust anyone else with it. The first is true only once. The last is a delegation problem to fix directly.
Try this week
- Before you pick up your next coding task, write one sentence on why it should be you. If you cannot, hand it over.
- Fix one small annoyance in the build or tooling that slows everyone down.
Signs you've got it
- You can still make a change in any main part of the codebase and get it through review.
- The code you write tends to make other people's work easier or less risky.
Resources
- article5 Tips for Being an Effective Tech Lead (opens in a new tab)Patrick Kua
- articleTo code or not to code: What's the right balance for Staff+ engineers? (opens in a new tab)Joy Ebertz
- articleEngineering Management: The Pendulum Or The Ladder (opens in a new tab)Charity Majors
- guideWhat do Staff engineers actually do? (opens in a new tab)Will Larson