DEV Community

# refactoring

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Do you have nice examples of refactoring code?

Do you have nice examples of refactoring code?

17
Comments 9
1 min read
How would you rewrite this Python code?

How would you rewrite this Python code?

46
Comments 17
2 min read
Coding Sidekiq Workers the Right Way

Coding Sidekiq Workers the Right Way

108
Comments 10
5 min read
A boolean's story

A boolean's story

12
Comments
7 min read
Don't ALWAYS quick-return from functions

Don't ALWAYS quick-return from functions

44
Comments 18
2 min read
Confidence level. Do you trust devs that extract duplicated code to funtions by hand instead of using IDE support?

Confidence level. Do you trust devs that extract duplicated code to funtions by hand instead of using IDE support?

14
Comments 9
1 min read
The Rewrite vs Refactor Debate: 8 Things You Need to Know

The Rewrite vs Refactor Debate: 8 Things You Need to Know

79
Comments 7
9 min read
Improving The Use Of Constants

Improving The Use Of Constants

15
Comments
4 min read
Is There Such a Thing As Good Technical Debt?

Is There Such a Thing As Good Technical Debt?

12
Comments
11 min read
Removing Comments

Removing Comments

59
Comments 19
3 min read
Refactoring an Overgrown Notifications Class in Django

Refactoring an Overgrown Notifications Class in Django

23
Comments 5
5 min read
Testing legacy code, part 2: Bending the rules

Testing legacy code, part 2: Bending the rules

14
Comments
4 min read
Testing legacy code, part 1: How to start

Testing legacy code, part 1: How to start

25
Comments 8
3 min read
Innocent growth of technical debt

Innocent growth of technical debt

22
Comments
5 min read
Auld Lang Refactoring

Auld Lang Refactoring

8
Comments
3 min read
Implementing REST client with Rust: an introduction to traits and generics

Implementing REST client with Rust: an introduction to traits and generics

17
Comments
7 min read
Another month of clean code

Another month of clean code

84
Comments 12
3 min read
How IntelliJ TODO tool helps in Refactoring

How IntelliJ TODO tool helps in Refactoring

12
Comments
4 min read
A month of clean code

A month of clean code

519
Comments 44
3 min read
Most effective and simplest way to write readable code.

Most effective and simplest way to write readable code.

43
Comments 19
2 min read
Think twice before using a Supplier

Think twice before using a Supplier

6
Comments 2
4 min read
Don't let duplication mislead you

Don't let duplication mislead you

43
Comments 1
3 min read
Embrace the static typing system: Strong types

Embrace the static typing system: Strong types

10
Comments 2
6 min read
How to improve functions with toggle params?

How to improve functions with toggle params?

9
Comments 1
5 min read
Resolving the game state machine cyclic dependency

Resolving the game state machine cyclic dependency

13
Comments 4
4 min read
Dead code problem

Dead code problem

24
Comments
3 min read
Writing Clean Code (Part 2)

Writing Clean Code (Part 2)

77
Comments 7
4 min read
Are you a Boy Scout?

Are you a Boy Scout?

37
Comments 6
1 min read
The Proximity Rule

The Proximity Rule

15
Comments 3
2 min read
Refactoring Basics

Refactoring Basics

31
Comments 4
4 min read
Writing Clean Code

Writing Clean Code

354
Comments 67
4 min read
Refactoring is not so scary

Refactoring is not so scary

79
Comments 18
4 min read
How to keep cleaner React components with object map?

How to keep cleaner React components with object map?

24
Comments 4
4 min read
Non isomorphic C++ refactoring

Non isomorphic C++ refactoring

10
Comments 5
7 min read
How And Why We Simplified The SparkPost PHP Client Library

How And Why We Simplified The SparkPost PHP Client Library

6
Comments
4 min read
You changed the code, you didn't refactor the code.

You changed the code, you didn't refactor the code.

55
Comments 8
2 min read
When to refactor

When to refactor

2
Comments 3
1 min read
When in doubt, refactor at the bottom

When in doubt, refactor at the bottom

17
Comments 3
5 min read
How to sell the idea of ​​refactoring to the project manager?

How to sell the idea of ​​refactoring to the project manager?

12
Comments 1
3 min read
Debugging and Refactoring JavaScript codes for robustness

Debugging and Refactoring JavaScript codes for robustness

3
Comments
3 min read
Using ruby reduce method for refactoring.

Using ruby reduce method for refactoring.

6
Comments
1 min read
You are an archaeologist (5 tips for navigating legacy systems)

You are an archaeologist (5 tips for navigating legacy systems)

2
Comments
3 min read
My First Open-Source Tinkering - On Code Refactoring

My First Open-Source Tinkering - On Code Refactoring

11
Comments 3
9 min read
Lessons from migrating a web application to a design system

Lessons from migrating a web application to a design system

2
Comments
4 min read
They know better or why are we afraid to change someone else's code?

They know better or why are we afraid to change someone else's code?

3
Comments
4 min read
Refresh.NET - code migration tool for .NET projects

Refresh.NET - code migration tool for .NET projects

6
Comments
3 min read
A Simple Rule for Better Variable Naming

A Simple Rule for Better Variable Naming

5
Comments
2 min read
Sourcery now available in VS Code!

Sourcery now available in VS Code!

6
Comments 2
1 min read
The Best Course I Took

The Best Course I Took

6
Comments 11
1 min read
Refactor code doesn't look like Ruby

Refactor code doesn't look like Ruby

7
Comments 2
1 min read
How about a refactorthon?

How about a refactorthon?

10
Comments 12
4 min read
Favorite Refactoring Techniques: Extract Functions

Favorite Refactoring Techniques: Extract Functions

6
Comments
1 min read
Why do we fall into the rewrite trap?

Why do we fall into the rewrite trap?

3
Comments
11 min read
The dichotomy of writing and reading object-oriented code

The dichotomy of writing and reading object-oriented code

5
Comments 7
3 min read
CMS Trap

CMS Trap

5
Comments
14 min read
Higher Order What?

Higher Order What?

1
Comments
3 min read
Embracing the Red Bar: Safely Refactoring Tests

Embracing the Red Bar: Safely Refactoring Tests

Comments 1
11 min read
Management, Refactor, and Prune

Management, Refactor, and Prune

4
Comments 2
2 min read
KonMari Your Code; Refactor Your Life

KonMari Your Code; Refactor Your Life

30
Comments
7 min read
Code is for co-workers, not compilers

Code is for co-workers, not compilers

7
Comments
9 min read
loading...