DEV Community

#refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
5 Cognitive Distortions When Touching Legacy Code — CBT for Developers

5 Cognitive Distortions When Touching Legacy Code — CBT for Developers

Comments
2 min read
5 Cognitive Distortions When Touching Legacy Code

5 Cognitive Distortions When Touching Legacy Code

Comments
1 min read
Small Steps Make Better Code

Small Steps Make Better Code

Comments
1 min read
Split the Pin From the Change: A Diff-Budget Gate for AI-Assisted Refactors

Split the Pin From the Change: A Diff-Budget Gate for AI-Assisted Refactors

Comments
5 min read
Your Golden Output Test Misses Call Order. Pin the Interaction Log First.

Your Golden Output Test Misses Call Order. Pin the Interaction Log First.

Comments
5 min read
Let the Model Propose, Let the Corpus Reject: A Change-Budget Loop for Messy Repos

Let the Model Propose, Let the Corpus Reject: A Change-Budget Loop for Messy Repos

Comments
5 min read
Trace Callee Hits First: How to Scope One Safe Edit in a Messy Repo

Trace Callee Hits First: How to Scope One Safe Edit in a Messy Repo

Comments
4 min read
Your Agent Is Only as Good as Your Codebase

Your Agent Is Only as Good as Your Codebase

1
Comments 1
5 min read
Cap the Diff at One Seam: Picking the Smallest Safe Refactor After Characterization

Cap the Diff at One Seam: Picking the Smallest Safe Refactor After Characterization

Comments
4 min read
Cap the Diff, Not the Ambition: A Line-Budget Gate for Messy-Repo Refactors

Cap the Diff, Not the Ambition: A Line-Budget Gate for Messy-Repo Refactors

Comments
5 min read
Run It Twenty Times Before You Pin It: Characterization Tests for Messy Repos

Run It Twenty Times Before You Pin It: Characterization Tests for Messy Repos

Comments
5 min read
Characterize the Failure Path First: A Fault Matrix Before Your Smallest Refactor

Characterize the Failure Path First: A Fault Matrix Before Your Smallest Refactor

Comments
5 min read
The Refactor Receipt: Freeze Behavior, Cap the Diff, Then Ask a Model for Edge Cases

The Refactor Receipt: Freeze Behavior, Cap the Diff, Then Ask a Model for Edge Cases

1
Comments
9 min read
Freeze the Output Before You Touch the Function: A Behavior Census for Untested Code

Freeze the Output Before You Touch the Function: A Behavior Census for Untested Code

Comments
5 min read
Characterization Tests First: Freeze a Messy Function, Then Make One Safe Edit

Characterization Tests First: Freeze a Messy Function, Then Make One Safe Edit

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