DEV Community

#refactoring

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Your Refactor Copies a List. The Caller Still Holds the Old One.

Your Refactor Copies a List. The Caller Still Holds the Old One.

Comments
5 min read
Replay the Seam: A Differential Gate for the Smallest Safe Refactor

Replay the Seam: A Differential Gate for the Smallest Safe Refactor

Comments
5 min read
Run It Ten Times Before You Write One Characterization Test

Run It Ten Times Before You Write One Characterization Test

Comments
6 min read
Two Runs Must Agree Before You Freeze a CLI Transcript

Two Runs Must Agree Before You Freeze a CLI Transcript

Comments
6 min read
Declare a Blast Radius Before You Refactor: Keep the Smallest Safe Change Actually Small

Declare a Blast Radius Before You Refactor: Keep the Smallest Safe Change Actually Small

Comments
6 min read
Map Every Changed Line to the Test That Ran It Before You Refactor

Map Every Changed Line to the Test That Ran It Before You Refactor

Comments
6 min read
Count the Clocks Before Characterization Tests: A Nondeterminism Census for Messy Repos

Count the Clocks Before Characterization Tests: A Nondeterminism Census for Messy Repos

Comments
5 min read
The agent extracted a shared helper and merged two callers' error paths

The agent extracted a shared helper and merged two callers' error paths

Comments
3 min read
Record What Your Code Throws Before You Refactor It

Record What Your Code Throws Before You Refactor It

Comments
5 min read
Pin the Order of Side Effects Before the Refactor: An Effect Ledger Gate

Pin the Order of Side Effects Before the Refactor: An Effect Ledger Gate

Comments
6 min read
Your Characterization Tests Passed. The Side Effects Changed Order.

Your Characterization Tests Passed. The Side Effects Changed Order.

Comments
5 min read
Triage Nondeterminism Before Golden Tests: A Probe for Messy Repos

Triage Nondeterminism Before Golden Tests: A Probe for Messy Repos

Comments
7 min read
Count the Argument Shapes Your Fixtures Never See Before Refactoring a Messy Module

Count the Argument Shapes Your Fixtures Never See Before Refactoring a Messy Module

Comments
6 min read
Break Your Code on Purpose: A Kill-Rate Gate for Characterization Tests

Break Your Code on Purpose: A Kill-Rate Gate for Characterization Tests

Comments
6 min read
Let the Free Model Write Inputs, Not Assertions: A Mutation Gate Before Your Refactor

Let the Free Model Write Inputs, Not Assertions: A Mutation Gate Before Your Refactor

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.