Here is a detailed explanation of The Law of Legacy, framed specifically from the perspective of an engineer. This law is the culminating principle in Steven Bartlett's The Diary of a CEO, representing the ultimate measure of a life and career well lived.
The Law of Legacy: "Success is measured not by what you accumulated, but by what you leave behind."
1. Definition: What Is the Law of Legacy?
The Law of Legacy (Law 33 in the 33-law framework) states that the true measure of your life and career is not what you built for yourself, but what you built that outlasts you.
Core Principle:
Legacy is what remains after you are gone. It is the systems you built that continue to function.
The people you mentored who go on to mentor others.
The culture you shaped that persists beyond your tenure.
The problems you solved that never need solving again.
The knowledge you shared that becomes part of the collective wisdom.
Bartlett places this law at the very end of his 33-law framework because it is the culmination of everything that comes before.
You build yourself (Part 1: The Self).
You learn to communicate your value (Part 2: The Story).
You develop a philosophy for navigating complexity (Part 3: The Philosophy).
And then, finally, you ask: What will outlast me?
The insight:
Ego asks, "What can I achieve?"
Legacy asks, "What can I leave?"
The first is finite; it ends with you. The second is infinite; it continues through others.
2. The Two Types of Legacy
Bartlett distinguishes between two forms of legacy, both of which apply powerfully to engineering:
Type Description Engineering Example
Tangible Legacy Concrete artifacts that outlast you. Systems, code, documentation, products. The open-source library you built that thousands of projects depend on. The architecture you designed that still runs a decade later.
Intangible Legacy The influence you had on people, culture, and practices. The knowledge you transferred. The engineers you mentored who became leaders. The culture of quality you instilled. The post-mortem discipline you established.
Bartlett argues that both matter, but intangible legacy is ultimately more enduring. Code becomes obsolete. Systems are replaced. But the people you influenced carry your lessons forward, and they influence others, creating a chain that extends far beyond the lifespan of any technical artifact.
3. The Legacy Mindset vs. The Ego Mindset
Bartlett contrasts two orientations that shape how we approach our work:
Dimension Ego Mindset Legacy Mindset
Focus "What will I get?" "What will remain?"
Time Horizon Short-term. Current quarter, current project, current performance review. Long-term. Generations.
Decision Criteria "Does this benefit me?" "Does this benefit those who come after?"
Ownership Hoards knowledge, creates dependency. Shares knowledge, builds independence.
Credit Seeks recognition. Gives credit freely. Cares less who gets credit.
Response to Change Resists changes that diminish personal relevance. Welcomes changes that ensure the system or organization outlasts any individual.
Definition of Success Titles, compensation, status, personal achievements. Impact, influence, things that continue after departure.
Bartlett's observation:
The ego mindset builds monuments to itself.
The legacy mindset builds cathedrals (Law of the Cathedral).
Monuments are forgotten. Cathedrals endure.
4. The Law of Legacy: Engineer's Perspective
For an engineer, legacy takes specific forms. The code you write, the systems you design, the people you mentor, and the culture you shape all contribute to what outlasts you.
A. Legacy Through Code and Systems
The most tangible form of engineering legacy is the systems you build that continue to function and serve users long after you have moved on.
Ego-Driven Engineering Legacy-Driven Engineering
Writing clever, complex code that only you can understand Writing clear, simple code that anyone can maintain
Creating dependencies on yourself as the "only one who knows" Documenting thoroughly so others can take over
Optimizing for personal learning and interesting challenges Optimizing for long-term maintainability and reliability
Leaving systems fragile because you will be there to fix them Building systems that are resilient even when you are gone
Hoarding tribal knowledge Codifying knowledge in documentation, runbooks, and architecture decision records
Example:
An engineer built a critical payment processing system. He was brilliant. The code was elegant but complex. He was the only one who fully understood it. When he left the company, the system became a source of constant anxiety. Every change was risky. Outages happened. The team spent months reverse-engineering his brilliance. His ego had built a monument to his genius. His legacy was fragility.
Another engineer built a similar system. She wrote clear documentation. She created runbooks. She explained design decisions in architecture decision records. She paired with junior engineers so they understood the system before she left. When she moved on, the system ran smoothly. The team maintained it easily. Her legacy was not the code—it was the capability she left behind.
B. Legacy Through Documentation and Knowledge
Documentation is often neglected because it does not feel like "real work." But from a legacy perspective, documentation is how your knowledge survives you.
Ego-Driven Documentation Legacy-Driven Documentation
Minimal or no documentation. "The code is the documentation." Comprehensive, clear documentation. Assumes reader knows nothing.
Documentation that is outdated because you never maintained it Documentation that is maintained as part of the development process
Knowledge stored only in your head Knowledge codified in accessible, searchable formats
Complex concepts explained with jargon Complex concepts explained with analogies, examples, and clear language
Example:
An engineer was known as the "expert" on a legacy system. Everyone came to him with questions. He enjoyed being indispensable. When he retired, the system became a black hole. No one understood how it worked. His knowledge retired with him.
Another engineer, knowing she would eventually move on, spent time writing comprehensive documentation. She created a wiki with architecture overviews, common failure modes, and step-by-step runbooks. She recorded video walkthroughs of complex subsystems. When she left, the team barely noticed. Her knowledge had become institutionalized. Her legacy was not her expertise—it was that expertise transferred.
C. Legacy Through Mentorship and People Development
The most enduring form of engineering legacy is not code or systems. It is people. The engineers you mentor carry your lessons forward. Their work, and the work of those they mentor, becomes your legacy multiplied.
Ego-Driven Mentorship Legacy-Driven Mentorship
Hoarding knowledge to maintain status Sharing knowledge freely, knowing it multiplies impact
Criticizing to demonstrate superiority Teaching patiently, remembering what it was like to not know
Creating dependency—juniors always come to you Building independence—juniors learn to solve problems themselves
Taking credit for mentees' successes Giving credit freely; celebrating mentees' growth as the reward
Mentoring only when convenient Investing time in people deliberately, as a core responsibility
Example:
A senior engineer was brilliant but impatient with juniors. He answered questions quickly but did not explain. He fixed problems himself rather than teaching. He was efficient but left no capability behind. When he left, his team was no stronger than when he arrived.
Another senior engineer made mentoring her primary contribution. She paired with juniors. She explained her reasoning. She let them make mistakes and guided them through debugging. She celebrated their promotions as her own achievements. Years later, engineers she had mentored were leading teams across the industry. Her legacy was not in code—it was in the hundreds of engineers who carried her lessons forward.
D. Legacy Through Culture and Practices
The way you work—the practices you establish, the standards you set, the culture you shape—can outlast you if you embed them in how the organization operates.
Ego-Driven Culture Legacy-Driven Culture
Enforcing standards through authority and control Embedding standards through systems, habits, and shared ownership
Being the "quality police" Creating a culture where everyone cares about quality
Practices that depend on your presence Practices that persist even when you are not there
Blaming individuals for failures Building blameless post-mortems and systemic improvement
Example:
A tech lead enforced code quality by personally reviewing every line of code. When he was present, quality was high. When he went on vacation, standards slipped. He was the bottleneck. His quality culture was actually a dependency.
Another tech lead established practices: automated testing, code review checklists, shared ownership of quality. She taught the team why these practices mattered. She created systems that enforced quality without her presence. When she left, the practices continued. Her legacy was not her reviews—it was a team that no longer needed her to maintain quality.
E. Legacy Through Open Source and Community Contribution
For many engineers, open-source contribution is a direct form of legacy. Code you write today may be used by thousands of projects for decades.
Ego-Driven Open Source Legacy-Driven Open Source
Building a project for personal recognition Building a project to solve a problem that many people face
Poor documentation, assuming users will figure it out Comprehensive documentation, examples, and onboarding
Not accepting contributions; controlling the project Building a maintainer community; ensuring the project outlasts you
Abandoning the project when interest fades Planning for succession; handing over to new maintainers
Example:
An engineer built a popular open-source library. He was the sole maintainer. He did not accept contributions. He did not document well. When he lost interest, the library died. Users had to migrate.
Another engineer built an open-source library and deliberately built a community around it. He documented thoroughly. He recruited maintainers. He set up governance so the project could continue without him. When he moved on, the library thrived. His legacy was not the code—it was a self-sustaining project that continued to serve users.
5. The Generational Perspective: Thinking Beyond Your Career
Bartlett encourages thinking in generations, not quarters. For an engineer, this means:
Time Horizon Focus
This Quarter Ship features. Meet deadlines. Fix bugs.
This Year Build capabilities. Complete projects. Get promoted.
This Career Build expertise. Grow influence. Achieve positions.
Generations What will remain after you are gone? What did you build that outlasts you? What did you teach that continues to be taught?
The shift: Most engineers focus on the first three horizons. The legacy mindset adds the fourth. It asks: What am I doing today that will matter in 20 years?
6. The Paradox of Legacy: You May Never See It
One of Bartlett's most profound insights is that legacy is often invisible to the one who builds it.
Truth Implication
You may never see the full impact of your work. The system you designed may run for decades after you leave. The engineer you mentored may become a CTO in 15 years. The documentation you wrote may save countless hours you never witness.
Legacy is built in the ordinary, not the extraordinary. It is not the one grand gesture. It is the consistent discipline of documenting, mentoring, and building sustainably.
You build legacy by making yourself replaceable. The ultimate act of legacy is to build systems and people that no longer need you. This is counterintuitive to ego.
Bartlett's formulation:
"The goal is not to be indispensable. The goal is to build something that does not require you to be indispensable."
7. How to Build Legacy as an Engineer: A Framework
Step Action Example
1. Document Everything
Assume you will leave tomorrow. Would someone else understand your work? Architecture decisions, runbooks, onboarding guides, design rationale.
2. Mentor Intentionally
Treat the growth of others as core work, not extracurricular. Pair programming, teaching sessions, career guidance.
3. Build Systems,
Not Silos Create systems that are resilient, documented, and maintainable by others. Automated testing, self-healing infrastructure, clear separation of concerns.
4. Codify Knowledge
Move knowledge from your head to shared repositories. Wikis, videos, recorded walkthroughs, architecture decision records.
5. Create Successors
Identify people who can take over your responsibilities. Train them. Deliberate succession planning. Handing over ownership gradually.
6. Embed Practices
Establish practices that will continue without your enforcement. Code review culture, testing discipline, post-mortem rituals.
7. Give Credit Freely
Make others the heroes. Your legacy is multiplied when others succeed. Publicly celebrating others' contributions. Writing recommendation letters. Advocating for promotions.
8. Ask the Legacy Question
Regularly ask: "If I left today, what would break? What would continue?" Use the answer to guide where to invest in documentation, training, and system improvement.
8. Legacy and the Other Laws
The Law of Legacy is the culmination of all the other laws. It integrates them into a final, enduring purpose:
Law How It Contributes to Legacy
Law of the Wall (Discipline)
Legacy is built through consistent, disciplined action over time. One grand gesture is not enough.
Law of the Reservoir
Building reservoirs—of knowledge, relationships, systems—creates what outlasts you.
Law of the Teacher
Teaching is the purest form of legacy. When you teach, your knowledge survives you.
Law of the Cathedral
Legacy requires a mission larger than yourself. The Cathedral outlasts the builder.
Law of the Story
Your legacy is carried in the stories others tell about you. What stories will they tell?
Law of the Wound
The wisdom you gained from your wounds becomes your most valuable gift to others.
9. The Emotional Dimension: Letting Go
Bartlett acknowledges that building legacy requires emotional work. It means letting go.
Challenge Legacy Response
Letting go of control
Your legacy is not in your control. It is in what others do with what you gave them.
Letting go of credit
Your legacy may be anonymous. The best legacy often has no name attached.
Letting go of being needed
If you build well, you become unnecessary. This is success, not failure.
Letting go of seeing the end
You may never see the full impact of your legacy. You must build it without witnessing its completion.
Bartlett's reflection:
"The cathedral builders of medieval Europe never saw the finished building. They laid stones for generations they would never meet. They did not need to see the finished cathedral to know it mattered. Neither do you."
---
10. Summary: The Law of Legacy (Engineer's Perspective)
Element Summary
Definition Success is measured not by what you accumulated, but by what you leave behind. Legacy is what outlasts you.
Core Principle Ego asks, "What can I achieve?" Legacy asks, "What can I leave?"
Two Types Tangible legacy (code, systems, products) and intangible legacy (people, culture, knowledge). Intangible is ultimately more enduring.
Ego vs. Legacy Mindset Ego hoards, seeks credit, creates dependency. Legacy shares, gives credit, builds independence.
Engineer Legacy Forms Code and systems, documentation, mentorship, culture and practices, open-source contribution.
Legacy Framework Document everything, mentor intentionally, build systems not silos, codify knowledge, create successors, embed practices, give credit freely, ask the legacy question.
The Paradox You may never see your legacy. You build it by making yourself replaceable.
Book Context Law 33—the culmination of all laws. The final measure of a life and career.
---
Quick Reference: Engineer's Legacy Checklist
Question Action
If I left tomorrow, would my systems survive? Document. Automate. Reduce complexity. Create runbooks.
If I left tomorrow, would my knowledge survive? Write documentation. Record walkthroughs. Share what I know.
If I left tomorrow, would the people I mentored thrive? Invest time in mentoring. Build independence. Celebrate their growth.
If I left tomorrow, would the practices I established continue? Embed practices in systems, not personality. Create shared ownership.
What stories will people tell about me after I am gone? Live and work in a way that creates stories worth telling.
What am I building that will matter in 20 years? Choose work that outlasts quarterly goals. Invest in enduring impact.
---
11. A Final Reflection: The Engineer's Cathedral
Bartlett closes the book with the image of the cathedral—the structure built over centuries by people who would never see it completed.
For an engineer, the cathedral is:
· The open-source project that outlives its original authors
· The system design so clear and robust that it runs for decades
· The documentation that saves countless hours for engineers who will never know your name
· The junior engineer you mentored who becomes a leader and mentors others
· The culture of quality, safety, and learning that persists long after you have moved on
The Law of Legacy asks you to be a cathedral builder. To lay bricks for a structure you may never see completed. To invest in people whose success you may never witness. To build systems that will outlast your tenure. To share knowledge that will propagate beyond your reach.
"You do not need to see the finished cathedral to know it matters. You just need to lay the bricks well. The rest takes care of itself."
No comments:
Post a Comment