DEV Community

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.
Tips on naming boolean variables - Cleaner Code

Tips on naming boolean variables - Cleaner Code

Reactions 194 Comments 40
2 min read
7 examples of sneaky tech debt and how to spot them

7 examples of sneaky tech debt and how to spot them

Reactions 7
8 min read
The simple reasons tech debt is inevitable

The simple reasons tech debt is inevitable

Reactions 7
6 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
4 habits every engineering team needs to beat tech debt

4 habits every engineering team needs to beat tech debt

Reactions 10
7 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 129 Comments 17
3 min read
How tech debt impacts everyone in the company

How tech debt impacts everyone in the company

Reactions 5 Comments 2
8 min read
Facades should not have Working Plumbing

Facades should not have Working Plumbing

Reactions 15 Comments 5
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
Java compiler error cascades... and fixing them

Java compiler error cascades... and fixing them

Reactions 7
2 min read
Laws of tech debt part I: macro trends that make tech debt inevitable

Laws of tech debt part I: macro trends that make tech debt inevitable

Reactions 10
5 min read
A broader definition of technical debt

A broader definition of technical debt

Reactions 8
4 min read
5 easy wins to refactor even the worst legacy code

5 easy wins to refactor even the worst legacy code

Reactions 68 Comments 5
3 min read
How to stop wasting engineering time on technical debt

How to stop wasting engineering time on technical debt

Reactions 7
6 min read
5 easy wins to refactor even the ugliest code

5 easy wins to refactor even the ugliest code

Reactions 158 Comments 13
3 min read
The one cultural characteristic you need for a healthy codebase

The one cultural characteristic you need for a healthy codebase

Reactions 23 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
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
Using Factories in Ruby to Refactor if Statements

Using Factories in Ruby to Refactor if Statements

Reactions 4
5 min read
Plain old PHP Object - Usability and benefits in modern PHP programming

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

Reactions 7
3 min read
Learning to think small

Learning to think small

Reactions 7
6 min read
Use applesauce to code faster

Use applesauce to code faster

Reactions 5
2 min read
Why the hell is my code so slow?! (aka performance analysis in Python)

Why the hell is my code so slow?! (aka performance analysis in Python)

Reactions 16
8 min read
Reusable, accessible headings in React with TypeScript

Reusable, accessible headings in React with TypeScript

Reactions 10
4 min read
Code Smell: Shotgun Surgery

Code Smell: Shotgun Surgery

Reactions 6
2 min read
Losing my memory

Losing my memory

Reactions 5 Comments 2
6 min read
Write a code that endures endless business requirements: Part-2 On Code Refactoring!

Write a code that endures endless business requirements: Part-2 On Code Refactoring!

Reactions 6
9 min read
Using Case Statements

Using Case Statements

Reactions 7
2 min read
Real World Serverless [5]: JWT with aws Authorizer functions

Real World Serverless [5]: JWT with aws Authorizer functions

Reactions 5
6 min read
Technical Debt in TicTacToe (Estimating 1.5)

Technical Debt in TicTacToe (Estimating 1.5)

Reactions 3
1 min read
Fastest way to create and share code in any language

Fastest way to create and share code in any language

Reactions 11
2 min read
Refactoring many OR statements like a ninja 🤘

Refactoring many OR statements like a ninja 🤘

Reactions 10 Comments 1
1 min read
Nullish Coalescing in JavaScript

Nullish Coalescing in JavaScript

Reactions 6
2 min read
Advanced SCSS: How Strings and Lists Can Improve Your Code

Advanced SCSS: How Strings and Lists Can Improve Your Code

Reactions 11
3 min read
Go vs PHP, JSON and Earthquakes - part 2

Go vs PHP, JSON and Earthquakes - part 2

Reactions 6
2 min read
Semantic HTML: An Introduction

Semantic HTML: An Introduction

Reactions 42
3 min read
Refactoring Code in Ruby

Refactoring Code in Ruby

Reactions 9
3 min read
The subtle art of refactoring #1

The subtle art of refactoring #1

Reactions 7 Comments 1
2 min read
Solving FizzBuzz with Elixir

Solving FizzBuzz with Elixir

Reactions 8
3 min read
Refactoring a Legacy Project

Refactoring a Legacy Project

Reactions 18 Comments 12
1 min read
Guides to Refactoring

Guides to Refactoring

Reactions 87 Comments 6
1 min read
5 refactorings I use every day

5 refactorings I use every day

Reactions 15
4 min read
How to Maintain Clean Code in your projects

How to Maintain Clean Code in your projects

Reactions 7
5 min read
Рефакторьте свой унаследованный PHP код (примеры из реальных проектов)

Рефакторьте свой унаследованный PHP код (примеры из реальных проектов)

Reactions 7
1 min read
Two quick tips for writing legible code

Two quick tips for writing legible code

Reactions 9 Comments 6
3 min read
Move Java-project to Kotlin

Move Java-project to Kotlin

Reactions 10 Comments 2
1 min read
Code Duplication Refactoring on Conditional Conditions

Code Duplication Refactoring on Conditional Conditions

Reactions 9
1 min read
TDD and bug fixing - the duo you can't be without

TDD and bug fixing - the duo you can't be without

Reactions 10
5 min read
How Do You Refactor Any Existing and Very Old Codebase?

How Do You Refactor Any Existing and Very Old Codebase?

Reactions 6 Comments 6
2 min read
Impetuous Encasing

Impetuous Encasing

Reactions 5
2 min read
Naming Obduracy and Code Vandals

Naming Obduracy and Code Vandals

Reactions 2
3 min read
# 5 Tips for better code readability

# 5 Tips for better code readability

Reactions 5 Comments 10
3 min read
loading...