DEV Community

#refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Hash the Output Tree Before You Extract One Helper

Hash the Output Tree Before You Extract One Helper

Comments
6 min read
Capture Three Channels, Then Change One Concern

Capture Three Channels, Then Change One Concern

Comments
7 min read
Refactoring Safely: A Step-by-Step Guide

Refactoring Safely: A Step-by-Step Guide

Comments
3 min read
Golden-Master a Tangled Script Before the Cleanup Diff

Golden-Master a Tangled Script Before the Cleanup Diff

Comments
7 min read
Snapshot File Deltas Before You Extract Glue

Snapshot File Deltas Before You Extract Glue

Comments
7 min read
The Smallest Safe Change: Refactor a Messy Function One Step at a Time

The Smallest Safe Change: Refactor a Messy Function One Step at a Time

Comments
4 min read
Your Refactor Needs an Oracle: Characterization Tests vs. AI Diffs

Your Refactor Needs an Oracle: Characterization Tests vs. AI Diffs

1
Comments
3 min read
The AI Wrote the Diff. The Tests Wrote the Verdict.

The AI Wrote the Diff. The Tests Wrote the Verdict.

Comments
4 min read
The Golden-File Refactor Loop: Record, Verify, Move, Commit

The Golden-File Refactor Loop: Record, Verify, Move, Commit

Comments
5 min read
PrestaShop's Configuration table is global, and uninstalling your module can delete someone else's settings

PrestaShop's Configuration table is global, and uninstalling your module can delete someone else's settings

Comments
4 min read
Every God File Split: Enforcing a 400-Line Cap Across a Video Pipeline

Every God File Split: Enforcing a 400-Line Cap Across a Video Pipeline

Comments
6 min read
The Code I Couldn't Leave Alone

The slippery slope of a quick bug fix

The Code I Couldn't Leave Alone

46
Comments 21
6 min read
Pin a Characterization Suite Before You Accept the First Refactor Diff

Pin a Characterization Suite Before You Accept the First Refactor Diff

Comments 1
8 min read
Why Your Refactoring Ideas Die in Backlog Hell (plus hack to fix it)

Why Your Refactoring Ideas Die in Backlog Hell (plus hack to fix it)

Comments
3 min read
How I Deleted 26,000 Lines of Dead Code With Claude Code in One Sprint

How I Deleted 26,000 Lines of Dead Code With Claude Code in One Sprint

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