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.
Refactoring a horrible function - thought processes

Refactoring a horrible function - thought processes

Reactions 2 Comments
6 min read
What is the D.R.Y Principle?

What is the D.R.Y Principle?

Reactions 5 Comments
4 min read
Refactor to success!

Refactor to success!

Reactions 4 Comments
3 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

Reactions 5 Comments
6 min read
Does refactoring Legacy Code pay off in your career?

Does refactoring Legacy Code pay off in your career?

Reactions 6 Comments 2
7 min read
Why deciding when to refactor can be complicated and convoluted

Why deciding when to refactor can be complicated and convoluted

Reactions 2 Comments
13 min read
Use the new Enum type in Ecto 3.5

Use the new Enum type in Ecto 3.5

Reactions 7 Comments 2
4 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 Comments
5 min read
How would I do it in Haskell?

How would I do it in Haskell?

Reactions 6 Comments
3 min read
Refactoring my first Go code

Refactoring my first Go code

Reactions 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

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

When is it the best time to refactor?

Reactions 4 Comments 2
3 min read
The Cost of Technical Debt

The Cost of Technical Debt

Reactions 2 Comments
2 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 Comments
4 min read
Developer Diaries : Refactor Code!! Noooo.. :'(

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

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

4 developers working their way through Legacy Code

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

Top 10 practices I hate in C++

Reactions 5 Comments
13 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 Comments
2 min read
Refactors y Migraciones: Pros... Y más pros!

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

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

Migrating to Typescript: Keeping it smooth & steady

Reactions 22 Comments 2
4 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
How can I refactor this code snippet?

How can I refactor this code snippet?

Reactions 8 Comments 4
1 min read
How to convince people to deal with tech debt

How to convince people to deal with tech debt

Reactions 4 Comments
5 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 Comments
6 min read
Where should you put the documentation?

Where should you put the documentation?

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

State-driven development of user interface components

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

Writing If Statements with the Ternary Operator

Reactions 28 Comments 12
2 min read
What Is Refactoring

What Is Refactoring

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

When Should You Refactor Your Code?

Reactions 6 Comments 1
4 min read
Which Class? Puts it in?

Which Class? Puts it in?

Reactions 3 Comments
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 Comments
2 min read
Developer Dark Arts: Ralpha-sorting

Developer Dark Arts: Ralpha-sorting

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

Developer Dark Arts: React Class Components

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

4 ways to clean ranged comparisons in Ruby conditionals

Reactions 6 Comments
2 min read
Tips and trick when refactoring some legacy code

Tips and trick when refactoring some legacy code

Reactions 3 Comments
1 min read
Developer Dark Arts: Default Exports

Developer Dark Arts: Default Exports

Reactions 8 Comments
5 min read
Developer Dark Arts: Magic Strings

Developer Dark Arts: Magic Strings

Reactions 7 Comments
3 min read
Using Dictionaries to refactor

Using Dictionaries to refactor

Reactions 5 Comments
2 min read
Focus refactoring on what matters with Hotspots Analysis

Focus refactoring on what matters with Hotspots Analysis

Reactions 6 Comments 1
7 min read
5 coding exercises to practice refactoring Legacy Code

5 coding exercises to practice refactoring Legacy Code

Reactions 14 Comments 1
5 min read
Code Review: Name file after exposed function

Code Review: Name file after exposed function

Reactions 3 Comments
1 min read
A simple technique to do safe changes in a complex codebase

A simple technique to do safe changes in a complex codebase

Reactions 114 Comments 4
5 min read
How not to make a framework for default request values in Spring

How not to make a framework for default request values in Spring

Reactions 3 Comments
5 min read
Clean code in Spring ecosystem

Clean code in Spring ecosystem

Reactions 7 Comments
6 min read
TypeScript Generics and Type Guards - Explained by Example

TypeScript Generics and Type Guards - Explained by Example

Reactions 17 Comments
8 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 899 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 Comments
5 min read
A Better Way to Loop Over an Array

A Better Way to Loop Over an Array

Reactions 6 Comments
2 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
Fastest way to create and share code in any language

Fastest way to create and share code in any language

Reactions 11 Comments
2 min read
🐾 Does your microservice deserve its own database?

🐾 Does your microservice deserve its own database?

Reactions 39 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
Vue.js - Cleaning up components

Vue.js - Cleaning up components

Reactions 25 Comments 4
5 min read
loading...