DEV Community

# refactoring

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
My strategy for Strategy

My strategy for Strategy

1
Comments
6 min read
The Hidden Cost of Import Chains

The Hidden Cost of Import Chains

Comments
10 min read
Refactoring is not a bag of tricks. It is a professional discipline.

Refactoring is not a bag of tricks. It is a professional discipline.

1
Comments
3 min read
Global State in Go: 5 Kinds We Found, 3 We Eliminated, 2 We Kept

Global State in Go: 5 Kinds We Found, 3 We Eliminated, 2 We Kept

Comments
6 min read
#05 Frozen Pipes

#05 Frozen Pipes

Comments
3 min read
Functions vs Methods in Go: 6 Decision Criteria With Code Examples

Functions vs Methods in Go: 6 Decision Criteria With Code Examples

Comments
7 min read
Stop Indenting — 6 Patterns for Flattening Nested if/else in Go

Stop Indenting — 6 Patterns for Flattening Nested if/else in Go

Comments
8 min read
Code Review Rules: The Last Stand of Human Judgment in the AI Era

Code Review Rules: The Last Stand of Human Judgment in the AI Era

Comments
3 min read
5 Fat Structs We Split — And the Go Patterns That Replaced Them

5 Fat Structs We Split — And the Go Patterns That Replaced Them

Comments
6 min read
I Asked AI to 'Refactor This Nicely' and Got Unwanted Decimals and Dataclasses

I Asked AI to 'Refactor This Nicely' and Got Unwanted Decimals and Dataclasses

Comments
3 min read
PHP and Legacy Code: A Survival Strategy for Migration and Refactoring in the AI Era

PHP and Legacy Code: A Survival Strategy for Migration and Refactoring in the AI Era

1
Comments
4 min read
Stop Letting AI Agents Go Rogue on Large Codebases: The large-scale-refactor Skill

Stop Letting AI Agents Go Rogue on Large Codebases: The large-scale-refactor Skill

Comments
14 min read
Your Go Structs Are Leaking: 6 Encapsulation Fixes From a Security CLI

Your Go Structs Are Leaking: 6 Encapsulation Fixes From a Security CLI

Comments
5 min read
The Airgap Test: Refactoring a Cobra CLI into a Library API

The Airgap Test: Refactoring a Cobra CLI into a Library API

1
Comments
7 min read
Agentic Smells: From Qualitative to Quantitative

Agentic Smells: From Qualitative to Quantitative

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