Forem

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.
Refactoring the Pomodoro Timer: Components

Refactoring the Pomodoro Timer: Components

7
Comments 1
2 min read
7 Tricks I Use To Rewrite JavaScript Code From My Early Days

7 Tricks I Use To Rewrite JavaScript Code From My Early Days

21
Comments 8
1 min read
Converting My Vanilla JavaScript Project into React

Converting My Vanilla JavaScript Project into React

16
Comments
4 min read
Vue 3 Options to Composition API Migration

Vue 3 Options to Composition API Migration

17
Comments 5
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

6
Comments
2 min read
Laravel: Refactoring Opportunity

Laravel: Refactoring Opportunity

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

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

6
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

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)

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

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

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

5
Comments
1 min read
Refactoring a horrible function - thought processes

Refactoring a horrible function - thought processes

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

What is the D.R.Y Principle?

5
Comments
4 min read
Refactor to success!

Refactor to success!

4
Comments
3 min read
Does refactoring Legacy Code pay off in your career?

Does refactoring Legacy Code pay off in your career?

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

Use the new Enum type in Ecto 3.5

7
Comments 2
4 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

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

Why deciding when to refactor can be complicated and convoluted

2
Comments
13 min read
Refactoring my first Go code

Refactoring my first Go code

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

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

When is it the best time to refactor?

4
Comments 2
3 min read
How would I do it in Haskell?

How would I do it in Haskell?

6
Comments
3 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 ✨

6
Comments
4 min read
Developer Diaries : Refactor Code!! Noooo.. :'(

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

4
Comments 1
2 min read
loading...