DEV Community

#refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Characterization Tests Are Not Enough: Add a Diff-Budget Guard

Characterization Tests Are Not Enough: Add a Diff-Budget Guard

Comments
6 min read
Your agent keeps deprecated aliases alive forever. Make it pick a cutover date.

Your agent keeps deprecated aliases alive forever. Make it pick a cutover date.

Comments
3 min read
Record Every Side Effect Before You Extract: A Ledger Diff Gate

Record Every Side Effect Before You Extract: A Ledger Diff Gate

Comments
5 min read
Stop Hand-Writing a Hundred Characterization Tests: Shrink a Recorded Corpus Instead

Stop Hand-Writing a Hundred Characterization Tests: Shrink a Recorded Corpus Instead

Comments
5 min read
Seed Five Mutations Before You Trust a Characterization Test

Seed Five Mutations Before You Trust a Characterization Test

Comments
5 min read
Rewrite or Refactor a Legacy Application? How to Decide

Rewrite or Refactor a Legacy Application? How to Decide

Comments
5 min read
Refactor a Repo You Don't Understand: Golden Files First, One Change Second

Refactor a Repo You Don't Understand: Golden Files First, One Change Second

Comments 1
5 min read
Pin the Fault Matrix Before You Refactor a Messy Module

Pin the Fault Matrix Before You Refactor a Messy Module

Comments
6 min read
Twenty Repeat Runs Before You Move One Function: A Determinism Gate for Messy Repos

Twenty Repeat Runs Before You Move One Function: A Determinism Gate for Messy Repos

Comments
5 min read
Go 1.26 Lets new() Take an Expression. Delete Your Pointer Helpers

Go 1.26 Lets new() Take an Expression. Delete Your Pointer Helpers

Comments
8 min read
How I Split a 3,200-Line God Class Into 14 Modules With Claude Code

How I Split a 3,200-Line God Class Into 14 Modules With Claude Code

Comments
7 min read
Let ast-grep Do the Rename. Hand Claude Code Only the Files It Couldn't

Let ast-grep Do the Rename. Hand Claude Code Only the Files It Couldn't

1
Comments
9 min read
Best Clean Code and Refactoring Books, and the Order to Read Them

Best Clean Code and Refactoring Books, and the Order to Read Them

1
Comments
6 min read
Refund Clock Tests Before the Smallest Extract

Refund Clock Tests Before the Smallest Extract

Comments
7 min read
app() Is Not Dependency Injection: 18 Calls Down to Zero

app() Is Not Dependency Injection: 18 Calls Down to Zero

1
Comments 3
7 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.