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

Developer Dark Arts: Magic Strings

7
Comments 1
3 min read
Using Dictionaries to refactor

Using Dictionaries to refactor

5
Comments
2 min read
Plain old PHP Object - Usability and benefits in modern PHP programming

Plain old PHP Object - Usability and benefits in modern PHP programming

13
Comments
3 min read
5 coding exercises to practice refactoring Legacy Code

5 coding exercises to practice refactoring Legacy Code

18
Comments 1
5 min read
Code Review: Name file after exposed function

Code Review: Name file after exposed function

3
Comments
1 min read
A simple technique to do safe changes in a complex codebase

A simple technique to do safe changes in a complex codebase

117
Comments 4
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.