Hacker ApprovedDepartments

Working Effectively with Legacy Code

Working Effectively with Legacy Code by Michael Feathers

by Michael C. Feathers

Hacker Approved

Shares rank 6 of 115 programming books by recommenders

Practical, step-by-step guide to changing untested legacy code safely, with techniques like seams and cut points that people still use daily.

Practical, step-by-step guide to changing untested legacy code safely, with techniques like seams and cut points that people still use daily.

17 people gave an opinion

recommend it
16
criticize it
1
approval share
94%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 16 people recommend itNeeds 10 or more, met.
  • 16 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Practical, actionable techniques for legacy code

    “It is the best step by step guide I have ever seen to successfully work with legacy code.”

    Comment from 3 Mar 2026 in “Use the Mikado Method to do safe changes in a complex codebase”

    “Usually there is something in there I can apply directly to get me out of a pinch.”

    Comment from 7 May 2026 in “Where the Goblins Came From”

    “it's both pragmatic and actionable”

    Comment from 19 Nov 2025 in “Ask HN: What does "legacy code" mean to you?”
  • Recommended as the standard reference

    “The exact same approach is recommended in the book "Working effectively with legacy code" by Michael Feathers, with several techniques on how to do it.”

    Comment from 3 Apr 2026 in “Decisions that eroded trust in Azure – by a former Azure Core engineer”

    “This is the general approach advocated by Feathers' Working Effectively with Legacy Code book”

    Comment from 3 Feb 2026 in “Ask HN: Why dead code detection in Python is harder than most tools admit”

    “you should probably start from _Working Effectively with Legacy Code_ by Michael Feathers”

    Comment from 2 Apr 2026 in “Ask HN: Books on Unit Testing and TDD?”
  • Seams and cut points for testing

    “he discusses using cut points to build a testing firewall to bring code under test”

    Comment from 7 May 2026 in “ProgramBench: Can Language Models Rebuild Programs from Scratch?”

    “found the concept of "seams" from that book useful”

    Comment from 30 Apr 2026 in “Where the Goblins Came From”
  • Changes how to think about old code

    “It will certainly be eye-opening to some, as it dispels the myth that legacy code is a function of age.”

    Comment from 9 Dec 2025 in “Has the cost of building software dropped 90%?”

    “It changed my approach to how to think about old code-bases.”

    Comment from 30 Apr 2026 in “Where the Goblins Came From”

Other programming books people recommend

The four most recommended other programming books, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Working Effectively with Legacy Code by Michael Feathers compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Crafting Interpretersby Robert Nystrom60494%10—Approved
Clean Codeby Robert C. Martin318726%9——
The Pragmatic Programmerby Andy Hunt and Dave Thomas28197%7—Approved
How to Design Programsby Matthias Felleisen and Robert Bruce Findler and Matthew Flatt and Shriram Krishnamurthi18290%7—Approved
Working Effectively with Legacy Codeby Michael C. FeathersThis page16194%8—Approved
See all 115 programming books, ranked

What people said

15 of the 18 comments that mention it, newest first. Each links to the original comment.

“This is not a universally accepted definition.”

CriticizesComment from 9 Oct 2026 in “Cloudflare acquires Deno”

“Its a great book, still use techniques from it everyday.”

RecommendsComment from 27 Aug 2026 in “Show HN: The load-bearing vocabulary of Claude”

“A whole book was written about them and their importance, and how to leverage them.”

RecommendsComment from 26 Jul 2026 in “The new rules of context engineering for Claude 5 generation models”

“he discusses using cut points to build a testing firewall to bring code under test”

RecommendsComment from 7 May 2026 in “ProgramBench: Can Language Models Rebuild Programs from Scratch?”

“Usually there is something in there I can apply directly to get me out of a pinch.”

RecommendsComment from 7 May 2026 in “Where the Goblins Came From”

“found the concept of "seams" from that book useful”

RecommendsComment from 30 Apr 2026 in “Where the Goblins Came From”

“It changed my approach to how to think about old code-bases.”

RecommendsComment from 30 Apr 2026 in “Where the Goblins Came From”

“The exact same approach is recommended in the book "Working effectively with legacy code" by Michael Feathers, with several techniques on how to do it.”

RecommendsComment from 3 Apr 2026 in “Decisions that eroded trust in Azure – by a former Azure Core engineer”

“you should probably start from _Working Effectively with Legacy Code_ by Michael Feathers”

RecommendsComment from 2 Apr 2026 in “Ask HN: Books on Unit Testing and TDD?”

“It is the best step by step guide I have ever seen to successfully work with legacy code.”

RecommendsComment from 3 Mar 2026 in “Use the Mikado Method to do safe changes in a complex codebase”

“this book has answers for you”

RecommendsComment from 2 Mar 2026 in “Use the Mikado Method to do safe changes in a complex codebase”

“I recommend reading a classic”

RecommendsComment from 2 Mar 2026 in “Use the Mikado Method to do safe changes in a complex codebase”

“This is the general approach advocated by Feathers' Working Effectively with Legacy Code book”

RecommendsComment from 3 Feb 2026 in “Ask HN: Why dead code detection in Python is harder than most tools admit”

“It will certainly be eye-opening to some, as it dispels the myth that legacy code is a function of age.”

RecommendsComment from 9 Dec 2025 in “Has the cost of building software dropped 90%?”

“it's both pragmatic and actionable”

RecommendsComment from 19 Nov 2025 in “Ask HN: What does "legacy code" mean to you?”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.