Cover of Working effectively with legacy code

Working effectively with legacy code

by Michael C. Feathers · first published 2004

315mentions
186recommended by
234HN commenters
2008–2026first – last mentioned

79% recommend20% neutral1% critical

Why HN recommends it

Practical techniques for getting tests around untested existing code, such as finding seams and breaking dependencies, so you can refactor safely; suits engineers inheriting tangled, tightly coupled codebases.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

290 2007: 0 mentions2008: 2 mentions2009: 2 mentions2010: 9 mentions2011: 6 mentions2012: 13 mentions2013: 8 mentions2014: 17 mentions2015: 15 mentions2016: 18 mentions2017: 28 mentions2018: 29 mentions2019: 22 mentions2020: 21 mentions2021: 15 mentions2022: 29 mentions2023: 17 mentions2024: 7 mentions2025: 12 mentions2026: 21 mentions200720172026

What Hacker News says

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help