DEV Community

#refactoring

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Thirty-three useEffect calls in 72,683 lines, and the same six lines are written out four times

Thirty-three useEffect calls in 72,683 lines, and the same six lines are written out four times

Comments
6 min read
37 components in our Expo app, and the one nothing has ever imported was written in the first commit

37 components in our Expo app, and the one nothing has ever imported was written in the first commit

Comments
6 min read
Refactor or Rot: Designing a Self-Improving Codebase

Refactor or Rot: Designing a Self-Improving Codebase

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