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.
The best way to start testing untested code

The best way to start testing untested code

2
Comments
5 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
Refactors y Migraciones: Pros... Y más pros!

Refactors y Migraciones: Pros... Y más pros!

2
Comments
2 min read
4 developers working their way through Legacy Code

4 developers working their way through Legacy Code

2
Comments
3 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
State-driven development of user interface components

State-driven development of user interface components

5
Comments
2 min read
Writing If Statements with the Ternary Operator

Writing If Statements with the Ternary Operator

28
Comments 13
2 min read
💫 Learn how to refactor an existing app with Vertical Slice Architecture 💫

💫 Learn how to refactor an existing app with Vertical Slice Architecture 💫

1
Comments
1 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
Which Class? Puts it in?

Which Class? Puts it in?

3
Comments
3 min read
Coding basics: DRY programming

Coding basics: DRY programming

5
Comments 2
5 min read
Selecting Hashes from an API

Selecting Hashes from an API

3
Comments
2 min read
Developer Dark Arts: Ralpha-sorting

Developer Dark Arts: Ralpha-sorting

6
Comments
4 min read
Saner apps with the Facade Pattern

Saner apps with the Facade Pattern

7
Comments
11 min read
Developer Dark Arts: React Class Components

Developer Dark Arts: React Class Components

6
Comments
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
Developer Dark Arts: Magic Strings

Developer Dark Arts: Magic Strings

7
Comments
3 min read
Using Dictionaries to refactor

Using Dictionaries to refactor

5
Comments
2 min read
Dive into an unfamiliar codebase from its edges

Dive into an unfamiliar codebase from its edges

3
Comments
5 min read
Is it up to the newer developer to pay back others' technical debt?

Is it up to the newer developer to pay back others' technical debt?

3
Comments
3 min read
loading...