DEV Community

#refactoring

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Don’t Repeat Yourself (DRY) the Right Way: How to Reuse Code Without Creating a Mess

Don’t Repeat Yourself (DRY) the Right Way: How to Reuse Code Without Creating a Mess

Comments
3 min read
How I find what breaks before I change a Python function

How I find what breaks before I change a Python function

Comments
4 min read
Your thresholds do not belong in constants

Your thresholds do not belong in constants

Comments 1
3 min read
Two switch statements with 688 cases, and the 52 folders that replaced them

Two switch statements with 688 cases, and the 52 folders that replaced them

1
Comments
4 min read
A pill that is not a link is a fact with nowhere to go, so we deleted 1,475 lines of them

A pill that is not a link is a fact with nowhere to go, so we deleted 1,475 lines of them

1
Comments
5 min read
Freeze Object Identity Before One Mutator Extract

Freeze Object Identity Before One Mutator Extract

Comments
6 min read
Record One Nested Decision, Then Extract a Single Predicate

Record One Nested Decision, Then Extract a Single Predicate

Comments
7 min read
Tape One Entry Point Before You Extract Anything From a Messy Module

Tape One Entry Point Before You Extract Anything From a Messy Module

Comments
7 min read
Технический долг: причины появления и как с ним работать системно

Технический долг: причины появления и как с ним работать системно

Comments
1 min read
Pin urlencode doseq and quote_via Before One Query Extract

Pin urlencode doseq and quote_via Before One Query Extract

Comments
6 min read
38 clamps, four probits, and one coefficient rounded to 15 digits

38 clamps, four probits, and one coefficient rounded to 15 digits

1
Comments 1
5 min read
Pin JSON Bytes and Default Handlers Before One Serializer Extract

Pin JSON Bytes and Default Handlers Before One Serializer Extract

Comments
6 min read
Building a Culture of Continuous Refactoring

Building a Culture of Continuous Refactoring

1
Comments
6 min read
Make Each Characterization Test Fail Once Before You Refactor

Make Each Characterization Test Fail Once Before You Refactor

Comments
5 min read
Mainframe Migration Tools: What Works and What Fails

Mainframe Migration Tools: What Works and What Fails

Comments
9 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.