loading...

Refactor it!

Help someone refactor their code, submit some code you want help to be refactored, or show how you refactored something.

👋 Sign in for the ability sort posts by top and latest.
How would I do it in Haskell?

How would I do it in Haskell?

Reactions 4
3 min read
Developer Diaries : Refactor Code!! Noooo.. :'(

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

Reactions 4
1 min read
Refactor to Reduce Repetitive Code

Refactor to Reduce Repetitive Code

Reactions 9 Comments 1
2 min read
The best way to start testing untested code

The best way to start testing untested code

Reactions 2
5 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 ✨

Reactions 6
4 min read
How to deal with tech debt—Lessons learned from the best engineering teams

How to deal with tech debt—Lessons learned from the best engineering teams

Reactions 3
2 min read
Take the test: your 'tech debt credit score'

Take the test: your 'tech debt credit score'

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

4 developers working their way through Legacy Code

Reactions 2
3 min read
Lessons interviewing 200+ engineers: the perfect process to manage tech debt

Lessons interviewing 200+ engineers: the perfect process to manage tech debt

Reactions 3
6 min read
Top 10 practices I hate in C++

Top 10 practices I hate in C++

Reactions 5
13 min read
How to convince people to deal with tech debt

How to convince people to deal with tech debt

Reactions 4
5 min read
Using Markdown and the Remark converter to make a dynamic and maintainable Next.js project

Using Markdown and the Remark converter to make a dynamic and maintainable Next.js project

Reactions 5
7 min read
Refactors y Migraciones: Pros... Y más pros!

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

Reactions 2
2 min read
Migrating to Typescript: Keeping it smooth & steady

Migrating to Typescript: Keeping it smooth & steady

Reactions 22 Comments 2
4 min read
How can I refactor this code snippet?

How can I refactor this code snippet?

Reactions 8 Comments 4
1 min read
Where should you put the documentation?

Where should you put the documentation?

Reactions 5 Comments 4
4 min read
State-driven development of user interface components

State-driven development of user interface components

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

Writing If Statements with the Ternary Operator

Reactions 28 Comments 11
2 min read
What Is Refactoring

What Is Refactoring

Reactions 5
3 min read
When Should You Refactor Your Code?

When Should You Refactor Your Code?

Reactions 6 Comments 1
4 min read
Using EmailJS with Next.js

Using EmailJS with Next.js

Reactions 8 Comments 2
3 min read
Using Tailwind CSS, Google Fonts and React-icons with a Next.js application

Using Tailwind CSS, Google Fonts and React-icons with a Next.js application

Reactions 14
5 min read
Modernising an existing Bootstrap website using Next.js and Tailwind CSS

Modernising an existing Bootstrap website using Next.js and Tailwind CSS

Reactions 12
4 min read
Which Class? Puts it in?

Which Class? Puts it in?

Reactions 3
3 min read
Coding basics: DRY programming

Coding basics: DRY programming

Reactions 5 Comments 2
5 min read
Selecting Hashes from an API

Selecting Hashes from an API

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

Developer Dark Arts: Ralpha-sorting

Reactions 6
4 min read
Developer Dark Arts: React Class Components

Developer Dark Arts: React Class Components

Reactions 6
5 min read
4 ways to clean ranged comparisons in Ruby conditionals

4 ways to clean ranged comparisons in Ruby conditionals

Reactions 6
2 min read
Developer Dark Arts: Default Exports

Developer Dark Arts: Default Exports

Reactions 8
5 min read
Developer Dark Arts: Magic Strings

Developer Dark Arts: Magic Strings

Reactions 7
3 min read
Code Review: Name file after exposed function

Code Review: Name file after exposed function

Reactions 3
1 min read
Clean code in Spring ecosystem

Clean code in Spring ecosystem

Reactions 7
6 min read
Capture Refactoring Ideas With Annotated TODOs

Capture Refactoring Ideas With Annotated TODOs

Reactions 11 Comments 3
3 min read
Refactoring: My 6 favorite patterns

Refactoring: My 6 favorite patterns

Reactions 888 Comments 36
4 min read
Tic Tac Toe in Haskell - finished?

Tic Tac Toe in Haskell - finished?

Reactions 9 Comments 1
4 min read
My first implementation of Tic Tac Toe in Haskell!

My first implementation of Tic Tac Toe in Haskell!

Reactions 42 Comments 8
3 min read
Well-Factored Web Forms

Well-Factored Web Forms

Reactions 7
5 min read
The fight between Try-Catch and If-Else

The fight between Try-Catch and If-Else

Reactions 17 Comments 11
1 min read
Refactoring C# code using partial classes

Refactoring C# code using partial classes

Reactions 49 Comments 8
8 min read
🐾 Does your microservice deserve its own database?

🐾 Does your microservice deserve its own database?

Reactions 36 Comments 1
4 min read
How to make a form handling with vuex

How to make a form handling with vuex

Reactions 38 Comments 11
2 min read
Refactoring my Rails Project

Refactoring my Rails Project

Reactions 9 Comments 2
2 min read
React.js with Factory Pattern ? Building Complex UI With Ease

React.js with Factory Pattern ? Building Complex UI With Ease

Reactions 117
5 min read
Tips on naming boolean variables - Cleaner Code

Tips on naming boolean variables - Cleaner Code

Reactions 182 Comments 33
2 min read
Simpler = Better if it_gets_the_job_done

Simpler = Better if it_gets_the_job_done

Reactions 34 Comments 4
2 min read
How I brought down my project's dependency tree from 36 packages to 4 packages

How I brought down my project's dependency tree from 36 packages to 4 packages

Reactions 130 Comments 17
3 min read
Angular Style Encapsulation: You're Doing It Wrong

Angular Style Encapsulation: You're Doing It Wrong

Reactions 12 Comments 5
3 min read
The one cultural characteristic you need for a healthy codebase

The one cultural characteristic you need for a healthy codebase

Reactions 22 Comments 1
7 min read
Dependency Injection in Ruby 🌈

Dependency Injection in Ruby 🌈

Reactions 13
2 min read
Null-checking in JavaScript

Null-checking in JavaScript

Reactions 6 Comments 5
1 min read
A month of Flutter: extract post item widget

A month of Flutter: extract post item widget

Reactions 8
2 min read
Help Me Refactor dev.to's Markdown Service!

Help Me Refactor dev.to's Markdown Service!

Reactions 27 Comments 9
1 min read
Tips and trick when refactoring some legacy code

Tips and trick when refactoring some legacy code

Reactions 3
1 min read
Same Application in React and Vue, Which one is better?

Same Application in React and Vue, Which one is better?

Reactions 5
6 min read
How to write SOLID C++

How to write SOLID C++

Reactions 6
14 min read
Saner apps with the Facade Pattern

Saner apps with the Facade Pattern

Reactions 6
11 min read
Dive into an unfamiliar codebase from its edges

Dive into an unfamiliar codebase from its edges

Reactions 3
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?

Reactions 3
3 min read
Using Dictionaries to refactor

Using Dictionaries to refactor

Reactions 5
2 min read
loading...