DEV Community

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.
Code Smell | Primitive Obsession

Code Smell | Primitive Obsession

17
Comments
4 min read
Refactoring?!

Refactoring?!

6
Comments
2 min read
Migrating our scripts to Node.js v16 using codemod

Migrating our scripts to Node.js v16 using codemod

14
Comments
3 min read
Basic Software Architecture Principles (except SOLID)

Basic Software Architecture Principles (except SOLID)

7
Comments 3
3 min read
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.

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

15
Comments 1
4 min read
Exploring Functional Programming in Java - Functional Interface

Exploring Functional Programming in Java - Functional Interface

8
Comments
6 min read
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

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

3
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

Converting My Vanilla JavaScript Project into React

15
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
loading...