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.
Use the new Enum type in Ecto 3.5

Use the new Enum type in Ecto 3.5

7
Comments 2
4 min read
Converting a React Class Component with Connect to a Functional Component using React Hooks

Converting a React Class Component with Connect to a Functional Component using React Hooks

7
Comments
6 min read
Refactoring my first Go code

Refactoring my first Go code

9
Comments
3 min read
Refactoring or: How We Learned to Stop Worrying and Live with Chaos

Refactoring or: How We Learned to Stop Worrying and Live with Chaos

9
Comments
6 min read
When is it the best time to refactor?

When is it the best time to refactor?

4
Comments 2
3 min read
How would I do it in Haskell?

How would I do it in Haskell?

6
Comments
3 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
Developer Diaries : Refactor Code!! Noooo.. :'(

Developer Diaries : Refactor Code!! Noooo.. :'(

4
Comments 1
2 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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.