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.
A Walk Through the Gilded Rose Kata — Pt 2: Duplication is your friend (at first)
Cover image for 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
Cover image for 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)
Cover image for 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?
Cover image for What is the D.R.Y Principle?

What is the D.R.Y Principle?

5
Comments
4 min read
Refactor to success!
Cover image for Refactor to success!

Refactor to success!

4
Comments
3 min read
Does refactoring Legacy Code pay off in your career?
Cover image for 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
Cover image for 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
Cover image for 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?
Cover image for 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 ✨
Cover image for 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.