How to Improve Your Code With Easy Refactorings

Leader ●3 ●75 ●160
calendar_today • schedule1 min read

Refactorings are amazing to grow and improve our code

TL;DR: Let's start addressing our code smells

I have been writing a series on Code Smells for a long time.

https://coderlegion.com/10942/how-to-find-the-stinky-parts-of-your-code

There are a lot of (possible) problems

Let's go for the solutions!

https://coderlegion.com/13328/refactoring-007-extract-class

https://coderlegion.com/13617/refactoring-008-convert-variables-to-constant

https://coderlegion.com/13866/refactoring-009-protect-public-attributes

https://maximilianocontieri.com/refactoring-010-extract-method-object

https://maximilianocontieri.com/refactoring-011-replace-comments-with-tests

https://maximilianocontieri.com/refactoring-012-reify-associative-arrays

https://maximilianocontieri.com/refactoring-013-remove-repeated-code

https://maximilianocontieri.com/refactoring-014-remove-if

https://maximilianocontieri.com/refactoring-015-remove-null

https://maximilianocontieri.com/refactoring-016-build-with-the-essence

https://maximilianocontieri.com/refactoring-017-convert-attributes-to-sets

https://maximilianocontieri.com/refactoring-018-replace-singleton

https://maximilianocontieri.com/refactoring-019-reify-email-addresses

https://maximilianocontieri.com/refactoring-020-transform-static-functions

https://maximilianocontieri.com/refactoring-021-remove-dead-code

https://maximilianocontieri.com/refactoring-022-extract-common-ancestor

https://maximilianocontieri.com/refactoring-023-replace-inheritance-with-delegation

https://maximilianocontieri.com/refactoring-024-replace-global-variables-with-dependency-injection

https://maximilianocontieri.com/refactoring-025-decompose-regular-expressions

https://maximilianocontieri.com/refactoring-026-migrate-global-console-input-to-declarative-function

https://maximilianocontieri.com/refactoring-027-remove-getters

https://maximilianocontieri.com/refactoring-028-replace-consecutive-ids-with-dark-keys

https://maximilianocontieri.com/refactoring-029-replace-null-with-collection

https://maximilianocontieri.com/refactoring-030-inline-attributes

https://maximilianocontieri.com/refactoring-031-removing-oops

https://maximilianocontieri.com/refactoring-032-apply-consistent-style-rules

https://maximilianocontieri.com/refactoring-033-strip-annotations

https://maximilianocontieri.com/refactoring-034-reify-parameters

https://maximilianocontieri.com/refactoring-035-separate-exception-types

https://maximilianocontieri.com/refactoring-036-replace-string-concatenations-with-text-blocks

https://coderlegion.com/8309/refactoring-037-testing-private-methods

https://coderlegion.com/11148/refactoring-038-reify-collection


Photo by No Revisions on Unsplash


Part of the objective of this series of articles is to generate spaces for debate and discussion on software design.

https://coderlegion.com/6864/object-design-checklist

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelski - Mar 19

The Ancient Roman Calendar in Your Python Terminal: A Love Letter to Useless Code

nevmenandr - Oct 14

Your Tech Stack Isn’t Your Ceiling. Your Story Is

Karol Modelski - Apr 9

Three Design-to-Code Rules Most Developers Ignore (That Will Make You a Better Engineer)

Joemetry - Sep 26

Minimum Weight: Code Coverage Gates in Kotlin Multiplatform with Kover

kmp-bits - Sep 23
chevron_left
8.5k Points • 238 Badges
Buenos Aires, Argentina • maximilianocontieri.com
86Posts
5Comments
16Connections
Learn something new every day
Software Engineer and author of Clean Code Cookbook (https://amzn.to/4... Show more

Related Jobs

Commenters (This Week)

15 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!