DEV Community

#refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Test the Safety Net First: Mutation-Check Characterization Pins Before a Refactor

Test the Safety Net First: Mutation-Check Characterization Pins Before a Refactor

Comments
5 min read
Freeze the Clock First: A Nondeterminism Gate for Messy Refactors

Freeze the Clock First: A Nondeterminism Gate for Messy Refactors

Comments
5 min read
Find the Seam Before You Cut: A Read/Write Census for Messy Modules

Find the Seam Before You Cut: A Read/Write Census for Messy Modules

Comments
7 min read
The Bug Is in the Files: Characterize Filesystem Side Effects Before a Messy Refactor

The Bug Is in the Files: Characterize Filesystem Side Effects Before a Messy Refactor

Comments
5 min read
The Shape Census: Triage a Messy Module Before You Refactor It

The Shape Census: Triage a Messy Module Before You Refactor It

Comments
6 min read
Cap Snapshot Churn: A Failure-First Characterization Harness for Messy Repos

Cap Snapshot Churn: A Failure-First Characterization Harness for Messy Repos

Comments
5 min read
Pin the Call Log, Not the Return Value: Choosing the Smallest Safe Refactor Move

Pin the Call Log, Not the Return Value: Choosing the Smallest Safe Refactor Move

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
Characterization Tests Are Not Enough: Add a Diff-Budget Guard

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

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