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.
How to convert a Java pojo class to Record fastly

How to convert a Java pojo class to Record fastly

Comments
3 min read
JavaScript refactoring best practices.

JavaScript refactoring best practices.

4
Comments
2 min read
Code smell | Hardcoded fake data in tests

Code smell | Hardcoded fake data in tests

6
Comments
3 min read
Refactoring: The Key to Keeping Your Codebase Clean and Maintainable

Refactoring: The Key to Keeping Your Codebase Clean and Maintainable

1
Comments
2 min read
The beauty of C++ STL algorithm and lambda

The beauty of C++ STL algorithm and lambda

1
Comments
2 min read
Take Your Code to The Other Side

Take Your Code to The Other Side

101
Comments 27
11 min read
Improving your React Native code using Path Aliases

Improving your React Native code using Path Aliases

Comments
1 min read
Porting from RequireJS to ES6

Porting from RequireJS to ES6

4
Comments 3
6 min read
Developer Meetup - How to Refactor Legacy Code?

Developer Meetup - How to Refactor Legacy Code?

Comments
4 min read
Refactoring. RegExp.

Refactoring. RegExp.

1
Comments
2 min read
Refactoring. From 6 to 180 lines.

Refactoring. From 6 to 180 lines.

4
Comments 3
4 min read
8 must-know tips for writing clean code with Javascript

8 must-know tips for writing clean code with Javascript

807
Comments 36
3 min read
Refactoring Tools: Transformation Priority Premise

Refactoring Tools: Transformation Priority Premise

6
Comments
4 min read
Refactoring Tools: Fewer Errors with Declarative Style

Refactoring Tools: Fewer Errors with Declarative Style

2
Comments
3 min read
Clean Unit Testing Part II - Give a context for your 'Arrange ' test body part

Clean Unit Testing Part II - Give a context for your 'Arrange ' test body part

5
Comments
3 min read
Refactoring Tools: Module Contracts for Lower Coupling

Refactoring Tools: Module Contracts for Lower Coupling

5
Comments
4 min read
Refactoring Tools: Pure Functions and Referential Transparency

Refactoring Tools: Pure Functions and Referential Transparency

8
Comments
5 min read
Refactoring Tools: Early Return for Flatter Conditions

Refactoring Tools: Early Return for Flatter Conditions

7
Comments
5 min read
Refactoring Tools: Tactic Git for Smoother Refactoring

Refactoring Tools: Tactic Git for Smoother Refactoring

6
Comments
3 min read
Refactoring Tools: How to Search for Bad Code

Refactoring Tools: How to Search for Bad Code

9
Comments
3 min read
Design Patterns - 1 - Strategy (C#)

Design Patterns - 1 - Strategy (C#)

3
Comments
2 min read
Refactor Like a Superhero: Introducing a New Online Book!

Refactor Like a Superhero: Introducing a New Online Book!

6
Comments 2
6 min read
5 extensions that make Jira suck less for engineers

5 extensions that make Jira suck less for engineers

23
Comments 1
3 min read
4 must-have VS Code extensions to write better code comments

4 must-have VS Code extensions to write better code comments

25
Comments 13
2 min read
How would you refactor this code? (tennis-3-modern)

How would you refactor this code? (tennis-3-modern)

3
Comments
1 min read
Code Smell | Magic Numbers

Code Smell | Magic Numbers

3
Comments 2
1 min read
The most important code smells every developer has to know

The most important code smells every developer has to know

9
Comments 4
1 min read
Make Yourself Accessible: Legacy Rails Applications

Make Yourself Accessible: Legacy Rails Applications

1
Comments
13 min read
Clean Code - How I'm Refactoring My First Project

Clean Code - How I'm Refactoring My First Project

5
Comments
5 min read
How to add React to Angular app with PubSub.

How to add React to Angular app with PubSub.

3
Comments
5 min read
Java 8 to Kotlin, Clojure and Java 17 - Part 2 Kotlin

Java 8 to Kotlin, Clojure and Java 17 - Part 2 Kotlin

6
Comments
1 min read
6 tips for refactoring code

6 tips for refactoring code

11
Comments
2 min read
Refactoring 006 - Rename Result Variables

Refactoring 006 - Rename Result Variables

8
Comments
1 min read
How to Reduce Time Spent on Refactoring? 3 Tips✅✅✅

How to Reduce Time Spent on Refactoring? 3 Tips✅✅✅

17
Comments 1
6 min read
If let shorthand project wide refactoring using Xcode regex search & replace.

If let shorthand project wide refactoring using Xcode regex search & replace.

6
Comments
1 min read
Refactoring 005 - Replace Comment with Function Name

Refactoring 005 - Replace Comment with Function Name

14
Comments
1 min read
Dynamically sorting an IQueryable

Dynamically sorting an IQueryable

8
Comments 2
4 min read
Code smell Katas — Graceful exception handling

Code smell Katas — Graceful exception handling

5
Comments
5 min read
5 VSCode extensions that are guaranteed to make maintenance easierđŸ”„

5 VSCode extensions that are guaranteed to make maintenance easierđŸ”„

36
Comments 2
3 min read
Code Smell | Data Clumps

Code Smell | Data Clumps

12
Comments
2 min read
How do I refactor IF_ELSE condition

How do I refactor IF_ELSE condition

5
Comments
2 min read
💧🧠Elixir: Reduzindo a complexidade ciclomática

💧🧠Elixir: Reduzindo a complexidade ciclomática

18
Comments 2
5 min read
The Engineer's Guide to Creating a Technical Debt ProposalđŸ—ș🧭

The Engineer's Guide to Creating a Technical Debt ProposalđŸ—ș🧭

48
Comments 1
5 min read
Technical leadership during large refactors

Technical leadership during large refactors

5
Comments
7 min read
What is the system supposed to do?

What is the system supposed to do?

5
Comments
2 min read
Code Refactoring: Meaning, Benefits and Best Practices

Code Refactoring: Meaning, Benefits and Best Practices

5
Comments
11 min read
Code Smell | Shotgun surgery

Code Smell | Shotgun surgery

16
Comments 2
2 min read
Eight (Groups of) Lodash Functions I Reach for the Most

Eight (Groups of) Lodash Functions I Reach for the Most

6
Comments
5 min read
Why TypeScripts never type is super useful

Why TypeScripts never type is super useful

6
Comments
4 min read
Code Smell | Divergent change

Code Smell | Divergent change

11
Comments
1 min read
Improve Product Quality by focusing on Developer Experience

Improve Product Quality by focusing on Developer Experience

4
Comments
2 min read
The Power of Code Refactoring: How to Measure Refactoring Success📈✹

The Power of Code Refactoring: How to Measure Refactoring Success📈✹

36
Comments
6 min read
7 Top Metrics for Measuring Your Technical Debt🚀

7 Top Metrics for Measuring Your Technical Debt🚀

88
Comments
7 min read
Docker - Run/Refactor PHP code from a web interface

Docker - Run/Refactor PHP code from a web interface

13
Comments 1
2 min read
10 Must-Have React Developer Tools to Write Clean CodeđŸ’»đŸ”„

10 Must-Have React Developer Tools to Write Clean CodeđŸ’»đŸ”„

713
Comments 4
5 min read
Why TODOs and Jira tickets are not working anymore

Why TODOs and Jira tickets are not working anymore

29
Comments
5 min read
Code Smell | Primitive Obsession

Code Smell | Primitive Obsession

17
Comments
4 min read
Software Engineering Best Practices + The Best Resources to Save🚀

Software Engineering Best Practices + The Best Resources to Save🚀

207
Comments 2
7 min read
10 VS Code Extensions to Fight Technical Debt

10 VS Code Extensions to Fight Technical Debt

613
Comments 8
4 min read
Refactoring?!

Refactoring?!

6
Comments
2 min read
loading...