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.
๐Ÿ’ฃ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ถ๐—ป๐—ด ๐—ง๐—ฒ๐—ฐ๐—ต๐—ป๐—ถ๐—ฐ๐—ฎ๐—น ๐——๐—ฒ๐—ฏ๐˜ ๐—ช๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐—Ÿ๐—ผ๐˜€๐—ถ๐—ป๐—ด ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐— ๐—ถ๐—ป๐—ฑ

๐Ÿ’ฃ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ถ๐—ป๐—ด ๐—ง๐—ฒ๐—ฐ๐—ต๐—ป๐—ถ๐—ฐ๐—ฎ๐—น ๐——๐—ฒ๐—ฏ๐˜ ๐—ช๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐—Ÿ๐—ผ๐˜€๐—ถ๐—ป๐—ด ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐— ๐—ถ๐—ป๐—ฑ

Comments
1 min read
Beyond Greenwashing: How Strategic IT Fuels Profit andย Planet

Beyond Greenwashing: How Strategic IT Fuels Profit andย Planet

Comments
3 min read
From Chaos to Clean Code: How Refactoring Beats Callback Hell

From Chaos to Clean Code: How Refactoring Beats Callback Hell

1
Comments
3 min read
๐Ÿšจ Developers: It's Time to Wake Up to the CDE Upskilling Challenge! ๐Ÿšจ

๐Ÿšจ Developers: It's Time to Wake Up to the CDE Upskilling Challenge! ๐Ÿšจ

Comments
1 min read
Solving Unnecessary Rerenders in React with eventsync

Solving Unnecessary Rerenders in React with eventsync

Comments
2 min read
How to Refactor Chaotic JavaScript Code: A Step-by-Step Guide

How to Refactor Chaotic JavaScript Code: A Step-by-Step Guide

5
Comments
4 min read
Code Like Butter: How to Speed Up Development Without Sacrificing Quality

Code Like Butter: How to Speed Up Development Without Sacrificing Quality

Comments
2 min read
My First Dev Case Study: Refactoring for Accessibility, Scalability, and Sanity

My First Dev Case Study: Refactoring for Accessibility, Scalability, and Sanity

5
Comments 3
5 min read
Applying the Presenter Pattern in Marten

Applying the Presenter Pattern in Marten

5
Comments
3 min read
SBOMs in Production: Lessons from the SolarWinds & xz Attacks

SBOMs in Production: Lessons from the SolarWinds & xz Attacks

Comments
4 min read
From spaghetti code to structured architecture: visualizing complex codebases

From spaghetti code to structured architecture: visualizing complex codebases

Comments
3 min read
Tech debt - When should developers refactor?

Tech debt - When should developers refactor?

4
Comments
3 min read
Using Traits and DocBlocks for Cleaner Architecture ๐Ÿคต

Using Traits and DocBlocks for Cleaner Architecture ๐Ÿคต

Comments
1 min read
Revolutionize Your Refactoring with VS Code's Next Edit Suggestions

Revolutionize Your Refactoring with VS Code's Next Edit Suggestions

1
Comments
2 min read
Front-end Shovel ๐Ÿ’ฉ Diary #3: Refactoring the "Personal Profile"

Front-end Shovel ๐Ÿ’ฉ Diary #3: Refactoring the "Personal Profile"

Comments
3 min read
Code in Chaos? 4 Refactoring Steps Senior Devs Use to Regain Control

Code in Chaos? 4 Refactoring Steps Senior Devs Use to Regain Control

Comments
1 min read
Evolution of MVP Development: From Early Best Practices to Modern Startups

Evolution of MVP Development: From Early Best Practices to Modern Startups

Comments
48 min read
Prettier Configuration for React/Next.js Projects | 2025

Prettier Configuration for React/Next.js Projects | 2025

5
Comments
2 min read
๐Ÿ’ธDeveloper yang Membayar Hutang Teknis

๐Ÿ’ธDeveloper yang Membayar Hutang Teknis

10
Comments 1
3 min read
Seven Legacy Technologies in Android Development and Their Modern Counterparts

Seven Legacy Technologies in Android Development and Their Modern Counterparts

1
Comments
13 min read
The guiding light of a North Star - Bringing long-term vision to our Frontend transformation at Hotjar

The guiding light of a North Star - Bringing long-term vision to our Frontend transformation at Hotjar

3
Comments
9 min read
Automating Code Refactoring in Laravel with Rector

Automating Code Refactoring in Laravel with Rector

7
Comments
3 min read
Mastering Form Error Handling in Angular: Mapping Errors to User-Friendly Messages

Mastering Form Error Handling in Angular: Mapping Errors to User-Friendly Messages

1
Comments
9 min read
Practical Experience: Integrating Over 50 Neural Networks Into One Open-Source Project

Practical Experience: Integrating Over 50 Neural Networks Into One Open-Source Project

10
Comments
10 min read
Refactoring ReadmeGenie

Refactoring ReadmeGenie

Comments
5 min read
loading...