DEV Community

#refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Refactor or Rewrite? How to Decide for One Module

Refactor or Rewrite? How to Decide for One Module

Comments
3 min read
The Diff Budget: Prove the Smallest Safe Refactor Before You Merge It

The Diff Budget: Prove the Smallest Safe Refactor Before You Merge It

Comments
5 min read
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
Refactor or Rot: Designing a Self-Improving Codebase

Refactor or Rot: Designing a Self-Improving Codebase

4
Picked as gem Comments
3 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.