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.
State-driven development of user interface components

State-driven development of user interface components

5
Comments
2 min read
Writing If Statements with the Ternary Operator

Writing If Statements with the Ternary Operator

28
Comments 13
2 min read
💫 Learn how to refactor an existing app with Vertical Slice Architecture 💫
Cover image for 💫 Learn how to refactor an existing app with Vertical Slice Architecture 💫

💫 Learn how to refactor an existing app with Vertical Slice Architecture 💫

1
Comments
1 min read
What Is Refactoring
Cover image for What Is Refactoring

What Is Refactoring

5
Comments
3 min read
When Should You Refactor Your Code?
Cover image for When Should You Refactor Your Code?

When Should You Refactor Your Code?

6
Comments 1
4 min read
Which Class? Puts it in?
Cover image for Which Class? Puts it in?

Which Class? Puts it in?

3
Comments
3 min read
Coding basics: DRY programming
Cover image for Coding basics: DRY programming

Coding basics: DRY programming

5
Comments 2
5 min read
Selecting Hashes from an API
Cover image for Selecting Hashes from an API

Selecting Hashes from an API

3
Comments
2 min read
Developer Dark Arts: Ralpha-sorting
Cover image for Developer Dark Arts: Ralpha-sorting

Developer Dark Arts: Ralpha-sorting

6
Comments
4 min read
Saner apps with the Facade Pattern
Cover image for Saner apps with the Facade Pattern

Saner apps with the Facade Pattern

7
Comments
11 min read
Developer Dark Arts: React Class Components
Cover image for Developer Dark Arts: React Class Components

Developer Dark Arts: React Class Components

6
Comments 1
5 min read
4 ways to clean ranged comparisons in Ruby conditionals

4 ways to clean ranged comparisons in Ruby conditionals

6
Comments
2 min read
Developer Dark Arts: Default Exports
Cover image for Developer Dark Arts: Default Exports

Developer Dark Arts: Default Exports

9
Comments
5 min read
Developer Dark Arts: Magic Strings
Cover image for Developer Dark Arts: Magic Strings

Developer Dark Arts: Magic Strings

7
Comments 1
3 min read
Using Dictionaries to refactor

Using Dictionaries to refactor

5
Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.