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.
A Walk Through the Gilded Rose Kata — Pt 1: Do not break anything

A Walk Through the Gilded Rose Kata — Pt 1: Do not break anything

13
Comments
7 min read
Does refactoring Legacy Code pay off in your career?

Does refactoring Legacy Code pay off in your career?

7
Comments 2
7 min read
Use the new Enum type in Ecto 3.5

Use the new Enum type in Ecto 3.5

7
Comments 2
4 min read
How I saved 4 months of work on a code base migration with Codemod ✨

How I saved 4 months of work on a code base migration with Codemod ✨

6
Comments
4 min read
Refactor to Reduce Repetitive Code

Refactor to Reduce Repetitive Code

12
Comments 1
2 min read
Top 10 practices I hate in C++

Top 10 practices I hate in C++

7
Comments
13 min read
Migrating to Typescript: Keeping it smooth & steady

Migrating to Typescript: Keeping it smooth & steady

22
Comments 2
4 min read
How can I refactor this code snippet?

How can I refactor this code snippet?

8
Comments 4
1 min read
Where should you put the documentation?

Where should you put the documentation?

10
Comments 4
4 min read
Writing If Statements with the Ternary Operator

Writing If Statements with the Ternary Operator

28
Comments 13
2 min read
What Is Refactoring

What Is Refactoring

5
Comments
3 min read
When Should You Refactor Your Code?

When Should You Refactor Your Code?

6
Comments 1
4 min read
Coding basics: DRY programming

Coding basics: DRY programming

5
Comments 2
5 min read
4 ways to clean ranged comparisons in Ruby conditionals

4 ways to clean ranged comparisons in Ruby conditionals

6
Comments
2 min read
Developer Dark Arts: Default Exports

Developer Dark Arts: Default Exports

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