Forem

Refactor it!

Help someone refactor their code, submit some code you want help to be refactored, or show how you refactored something.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Mastering Value Objects in PHP 8.5+ (2026 Edition)
Cover image for Mastering Value Objects in PHP 8.5+ (2026 Edition)

Mastering Value Objects in PHP 8.5+ (2026 Edition)

Comments
4 min read
From Diff to Proof: Teaching Dennis to Verify Transformations
Cover image for From Diff to Proof: Teaching Dennis to Verify Transformations

From Diff to Proof: Teaching Dennis to Verify Transformations

Comments
2 min read
Fat Controller to Clean Architecture in Laravel (Step-by-Step Refactor)
Cover image for Fat Controller to Clean Architecture in Laravel (Step-by-Step Refactor)

Fat Controller to Clean Architecture in Laravel (Step-by-Step Refactor)

Comments
4 min read
I Made a CLI That Yells at Your Code Until It Gets an A
Cover image for I Made a CLI That Yells at Your Code Until It Gets an A

I Made a CLI That Yells at Your Code Until It Gets an A

1
Comments 1
1 min read
Decoupling a Live App with Domain Events (Part 2)
Cover image for Decoupling a Live App with Domain Events (Part 2)

Decoupling a Live App with Domain Events (Part 2)

1
Comments
5 min read
AI-Driven Refactoring in PHP: When to Trust Copilot (and When to Take the Wheel)
Cover image for AI-Driven Refactoring in PHP: When to Trust Copilot (and When to Take the Wheel)

AI-Driven Refactoring in PHP: When to Trust Copilot (and When to Take the Wheel)

2
Comments
4 min read
The DEX was not a HEX. Why deterministic artifacts depend on deterministic classification
Cover image for The DEX was not a HEX. Why deterministic artifacts depend on deterministic classification

The DEX was not a HEX. Why deterministic artifacts depend on deterministic classification

3
Comments
4 min read
What the Hex is a Dex? Introducing Deterministic Transformation Artifacts
Cover image for What the Hex is a Dex? Introducing Deterministic Transformation Artifacts

What the Hex is a Dex? Introducing Deterministic Transformation Artifacts

4
Comments 1
4 min read
The Case Against Rewrites: How I Evolved a 5-Year-Old Backend Codebase (And Why You Probably Shouldn’t Rewrite Yours Either)
Cover image for The Case Against Rewrites: How I Evolved a 5-Year-Old Backend Codebase (And Why You Probably Shouldn’t Rewrite Yours Either)

The Case Against Rewrites: How I Evolved a 5-Year-Old Backend Codebase (And Why You Probably Shouldn’t Rewrite Yours Either)

7
Comments 2
11 min read
What a Hilariously Wrong Time Estimate Taught Me About the Future of Organizations
Cover image for What a Hilariously Wrong Time Estimate Taught Me About the Future of Organizations

What a Hilariously Wrong Time Estimate Taught Me About the Future of Organizations

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