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.
Make readable string formatting

Make readable string formatting

4
Comments
1 min read
Functional Programming in Java? Refactoring if/else logic with the help of Functional Interfaces.
Cover image for Functional Programming in Java? Refactoring if/else logic with the help of Functional Interfaces.

Functional Programming in Java? Refactoring if/else logic with the help of Functional Interfaces.

16
Comments 1
4 min read
Exploring Functional Programming in Java - Functional Interface
Cover image for Exploring Functional Programming in Java - Functional Interface

Exploring Functional Programming in Java - Functional Interface

10
Comments
6 min read
I refactored all my articles
Cover image for I refactored all my articles

I refactored all my articles

11
Comments
3 min read
React refactor code #1

React refactor code #1

2
Comments 2
1 min read
How to code better and faster: lessons from research into Google developers
Cover image for How to code better and faster: lessons from research into Google developers

How to code better and faster: lessons from research into Google developers

8
Comments
2 min read
Table Driven Unit Tests in Go

Table Driven Unit Tests in Go

40
Comments 2
4 min read
#Creating an Application to Give Current Urgent Care Wait Times

#Creating an Application to Give Current Urgent Care Wait Times

2
Comments
2 min read
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
Cover image for 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
Cover image for 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
Cover image for 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
Cover image for 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
Cover image for 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)
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
loading...