DEV Community

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.
Refactoring: My 6 favorite patterns

Refactoring: My 6 favorite patterns

907
Comments 36
4 min read
Why the hell is my code so slow?! (aka performance analysis in Python)

Why the hell is my code so slow?! (aka performance analysis in Python)

11
Comments
8 min read
Well-Factored Web Forms

Well-Factored Web Forms

7
Comments
5 min read
Losing my memory

Losing my memory

5
Comments 2
6 min read
A Better Way to Loop Over an Array

A Better Way to Loop Over an Array

5
Comments
2 min read
Refactoring C# code using partial classes

Refactoring C# code using partial classes

59
Comments 8
8 min read
The fight between Try-Catch and If-Else

The fight between Try-Catch and If-Else

17
Comments 11
1 min read
Technical Debt in TicTacToe (Estimating 1.5)

Technical Debt in TicTacToe (Estimating 1.5)

4
Comments
1 min read
Fastest way to create and share code in any language

Fastest way to create and share code in any language

12
Comments
2 min read
🐾 Does your microservice deserve its own database?

🐾 Does your microservice deserve its own database?

44
Comments 1
4 min read
Refactoring many OR statements like a ninja 🤘

Refactoring many OR statements like a ninja 🤘

10
Comments 1
1 min read
Nullish Coalescing in JavaScript

Nullish Coalescing in JavaScript

6
Comments
2 min read
Advanced SCSS: How Strings and Lists Can Improve Your Code

Advanced SCSS: How Strings and Lists Can Improve Your Code

13
Comments
3 min read
Semantic HTML: An Introduction

Semantic HTML: An Introduction

42
Comments
3 min read
Refactoring Code in Ruby

Refactoring Code in Ruby

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