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.
What are Materialized Views? A 5-Minute Introduction

What are Materialized Views? A 5-Minute Introduction

2
Comments
6 min read
Git at a Glance: A Cheatsheet of 30 Must-know Commands

Git at a Glance: A Cheatsheet of 30 Must-know Commands

2
Comments
2 min read
Refactoring. From 6 to 180 lines.

Refactoring. From 6 to 180 lines.

5
Comments 3
4 min read
Refactoring Tools: Transformation Priority Premise

Refactoring Tools: Transformation Priority Premise

7
Comments 3
4 min read
Refactoring Tools: Fewer Errors with Declarative Style

Refactoring Tools: Fewer Errors with Declarative Style

2
Comments
3 min read
Refactoring Tools: Module Contracts for Lower Coupling

Refactoring Tools: Module Contracts for Lower Coupling

5
Comments
4 min read
Refactoring Tools: Pure Functions and Referential Transparency

Refactoring Tools: Pure Functions and Referential Transparency

8
Comments
5 min read
Refactoring Tools: Early Return for Flatter Conditions

Refactoring Tools: Early Return for Flatter Conditions

7
Comments
5 min read
Refactoring Tools: Tactic Git for Smoother Refactoring

Refactoring Tools: Tactic Git for Smoother Refactoring

6
Comments
3 min read
Refactoring Tools: How to Search for Bad Code

Refactoring Tools: How to Search for Bad Code

11
Comments
3 min read
Design Patterns - 1 - Strategy (C#)

Design Patterns - 1 - Strategy (C#)

3
Comments
2 min read
Refactor Like a Superhero: Introducing a New Online Book!

Refactor Like a Superhero: Introducing a New Online Book!

6
Comments 2
6 min read
How would you refactor this code? (tennis-3-modern)

How would you refactor this code? (tennis-3-modern)

4
Comments
1 min read
Code Smell | Magic Numbers

Code Smell | Magic Numbers

11
Comments 3
1 min read
The most important code smells every developer has to know

The most important code smells every developer has to know

9
Comments 4
1 min read
Make Yourself Accessible: Legacy Rails Applications

Make Yourself Accessible: Legacy Rails Applications

1
Comments
13 min read
Clean Code - How I'm Refactoring My First Project

Clean Code - How I'm Refactoring My First Project

5
Comments
5 min read
How to add React to Angular app with PubSub.

How to add React to Angular app with PubSub.

3
Comments
5 min read
Java 8 to Kotlin, Clojure and Java 17 - Part 2 Kotlin

Java 8 to Kotlin, Clojure and Java 17 - Part 2 Kotlin

6
Comments
1 min read
6 tips for refactoring code

6 tips for refactoring code

11
Comments
2 min read
Refactoring 006 - Rename Result Variables

Refactoring 006 - Rename Result Variables

8
Comments
1 min read
If let shorthand project wide refactoring using Xcode regex search & replace.

If let shorthand project wide refactoring using Xcode regex search & replace.

6
Comments
1 min read
Refactoring 005 - Replace Comment with Function Name

Refactoring 005 - Replace Comment with Function Name

15
Comments
1 min read
Dynamically sorting an IQueryable

Dynamically sorting an IQueryable

15
Comments 2
4 min read
Code smell Katas — Graceful exception handling

Code smell Katas — Graceful exception handling

5
Comments
5 min read
loading...