DEV Community

# refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
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
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
Claude Code vs Codex in the kind of refactor that can actually break an old repo

Claude Code vs Codex in the kind of refactor that can actually break an old repo

Comments
9 min read
Beyond Lines: Announcing "gosemdiff" – A Logic-Aware Diff Tool for Go

Beyond Lines: Announcing "gosemdiff" – A Logic-Aware Diff Tool for Go

Comments
2 min read
We Killed `interface{}` From a Go Codebase. Here's What Replaced It

We Killed `interface{}` From a Go Codebase. Here's What Replaced It

Comments
7 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
Announcing Dennis 0.8.3 — Deterministic Diff & Git-Aware Scope

Announcing Dennis 0.8.3 — Deterministic Diff & Git-Aware Scope

Comments
1 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
The Most Important Refactoring Was Deleting 500 Lines I Was Proud Of

The Most Important Refactoring Was Deleting 500 Lines I Was Proud Of

Comments
4 min read
I Inherited a 40,000-Line Java File. Here's What I Found Inside.

I Inherited a 40,000-Line Java File. Here's What I Found Inside.

1
Comments
6 min read
We Forgot defer — 6 Resource Leaks We Found During Refactoring

We Forgot defer — 6 Resource Leaks We Found During Refactoring

Comments
7 min read
Why I Switched from http to Dio in Flutter — Centralizing Error Tracking with Interceptors

Why I Switched from http to Dio in Flutter — Centralizing Error Tracking with Interceptors

Comments
3 min read
8 Coupling and Cohesion Fixes That Made a Go CLI Navigable

8 Coupling and Cohesion Fixes That Made a Go CLI Navigable

Comments
6 min read
Enhancing Electron's IPC: Addressing Robustness and Developer Experience for Complex Applications

Enhancing Electron's IPC: Addressing Robustness and Developer Experience for Complex Applications

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