Engineering Managers Should Write Code

Engineering managers who stop writing code lose touch with their teams and become ineffective leaders

This article is outdated

The tools or APIs discussed here have changed significantly since this was written. The article is preserved for reference, but the code examples may no longer work as shown.

When you write code, you understand the tools, the tech debt, the challenges in your stack, and the roadblocks that might slow your team down. More importantly, it creates a level of empathy that makes you a more effective leader. You’re not just delegating work; you’re involved in the same struggles and triumphs as your team.

Take Stripe, for example. At Stripe, managers are encouraged to write code alongside their teams. This hands-on approach ensures managers stay technically sharp and aware of the team’s real-world challenges.

Google is another example where some engineering managers are encouraged to remain hands-on, particularly in technical leadership roles. By continuing to code, they stay connected to the technical work while guiding their teams.

At GitHub, engineering managers are often still contributors to the codebase. The idea is to keep them connected to the product and the technical challenges the team faces, while also giving them the context needed to lead effectively.

Similarly, Basecamp has historically advocated for managers to stay engaged with technical work, fostering a culture where managers lead by example and work directly on the product.

Imagine a situation where an engineer sees a problem with a core service. In many companies, they might need approval from layers of management before making changes. But in a culture where managers are also writing code, that engineer is empowered to propose and implement solutions without unnecessary red tape.

Writing code as an engineering manager isn’t about being the best coder on your team. It’s about staying connected, making smarter decisions, and fostering collaboration. Whether you’re solving bugs or pushing features alongside your team, you’re building trust and creating a culture where everyone, including individual contributors, feels empowered to take ownership.

When managers are coding, it sets the tone for a culture where engineers are empowered to make decisions. Engineers can propose projects, drive change, and help steer the company’s technical direction. The best decisions are often made by those closest to the work, not those furthest from it.


Trevor I. Lasn

Trevor I. Lasn

Building whiteheap.com and 0xinsider.com.



Related Articles

Check out these related articles that might be useful for you. They cover similar topics and provide additional insights.

Engineering management
4 min read

Learn the art of scope management to keep your projects fixed in time and cost

Oct 7, 2024
Read article
Engineering management
6 min read

Why the first day back can reveal everything about your engineering team's health

Nov 4, 2024
Read article
Engineering management
7 min read

Scrum's standups, sprint planning and retros often waste engineers' time. Why a process from 2001 fits today's software poorly, and how some teams make it work.

Nov 14, 2024
Read article
Engineering management
12 min read

A deep dive into the strategies, mindset, and team culture that have made MrBeast one of the most successful creators on YouTube

Sep 16, 2024
Read article
Engineering management
4 min read

How scheduled developer freedom weeks can revolutionize your codebase and team morale

Apr 8, 2025
Read article
Engineering management
3 min read

High-performing teams share 5.6 positive comments for every negative one, medium teams 1.9. How to use that ratio in performance reviews.

Mar 20, 2025
Read article
Engineering management
7 min read

A one-hour meeting with nine people costs nine hours of work. How Amazon, Meta, Google, Netflix and Apple replace meetings with written documents.

Sep 17, 2024
Read article
Engineering management
5 min read

'We're not just a company, we're a family!' It's a nice sentiment, sure. But it's also a load of crap.

Oct 5, 2024
Read article
Engineering management
5 min read

Company culture grows from what people see rewarded, not from memos. How Google's 20% time and Netflix's vacation policy spread from the ground up.

Sep 14, 2024
Read article

This article was originally published on https://www.trevorlasn.com/blog/engineering-managers-should-write-code. It was written by a human and polished using grammar tools for clarity.