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.
Vue 3 Options to Composition API Migration

Vue 3 Options to Composition API Migration

Reactions 4 Comments
3 min read
4 Tips on How to Refactor Code in Visual Studio Code

4 Tips on How to Refactor Code in Visual Studio Code

Reactions 20 Comments
6 min read
Laravel: Refactoring Opportunity

Laravel: Refactoring Opportunity

Reactions 4 Comments
3 min read
How I use a Hash Instead of Case Statement in Ruby

How I use a Hash Instead of Case Statement in Ruby

Reactions 6 Comments
2 min read
What Do You Need to Know about Software Maintenance Types as an Engineer

What Do You Need to Know about Software Maintenance Types as an Engineer

Reactions 3 Comments
4 min read
A Walk Through the Gilded Rose Kata — Pt 5: Open to extension, closed to modification

A Walk Through the Gilded Rose Kata — Pt 5: Open to extension, closed to modification

Reactions 5 Comments
3 min read
A Walk Through the Gilded Rose Kata — Pt 4: Discovering what GildedRose really is

A Walk Through the Gilded Rose Kata — Pt 4: Discovering what GildedRose really is

Reactions 5 Comments
4 min read
A Walk Through the Gilded Rose Kata — Pt 3: From Faux-O to OO

A Walk Through the Gilded Rose Kata — Pt 3: From Faux-O to OO

Reactions 7 Comments
6 min read
A Walk Through the Gilded Rose Kata — Pt 2: Duplication is your friend (at first)

A Walk Through the Gilded Rose Kata — Pt 2: Duplication is your friend (at first)

Reactions 5 Comments
6 min read
A Walk Through the Gilded Rose Kata — Pt 1: Do not break anything

A Walk Through the Gilded Rose Kata — Pt 1: Do not break anything

Reactions 8 Comments
7 min read
Are Default Params in JavaScript bad? (Snack pack #4)

Are Default Params in JavaScript bad? (Snack pack #4)

Reactions 5 Comments
1 min read
The Engineer’s Complete Guide to Code Quality

The Engineer’s Complete Guide to Code Quality

Reactions 5 Comments 1
6 min read
What Lies Beneath Hard Work: Code Churn

What Lies Beneath Hard Work: Code Churn

Reactions 3 Comments
5 min read
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
The Ultimate Engineer's Guide to Code Refactoring

The Ultimate Engineer's Guide to Code Refactoring

Reactions 2 Comments
7 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 7 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 6 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
Saner apps with the Facade Pattern

Saner apps with the Facade Pattern

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

Using Factories in Ruby to Refactor if Statements

Reactions 5 Comments
5 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 16 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 115 Comments 4
5 min read
loading...