How to Find the Stinky Parts of Your Code

Leader ●3 ●92 ●166
calendar_today • schedule1 min read

The code smells badly. Let's see how to change the aromas.

TL;DR: A Compilation of bad smells in code.

In this series, we will see several symptoms and situations that make us doubt the quality of our development. We will present possible solutions.

Most of these smells are just hints of something that might be wrong. They are not rigid rules.

Code Smells

https://coderlegion.com/7246/code-smell-01-anemic-models

https://coderlegion.com/7475/code-smell-02-constants-and-magic-numbers

https://coderlegion.com/7617/code-smell-03-functions-are-too-long

https://coderlegion.com/7929/code-smell-04-string-abusers

https://coderlegion.com/8106/code-smell-05-comment-abusers

https://coderlegion.com/8216/code-smell-06-too-clever-programmer

https://coderlegion.com/9110/code-smell-07-boolean-variables

https://maximilianocontieri.com/code-smell-08-long-chains-of-collaborations

https://coderlegion.com/8495/code-smell-09-dead-code

https://coderlegion.com/8662/code-smell-10-too-many-arguments

https://maximilianocontieri.com/code-smell-11-subclassification-for-code-reuse

https://coderlegion.com/9248/code-smell-12-null

https://coderlegion.com/9517/code-smell-13-empty-constructors

https://coderlegion.com/10362/code-smell-14-god-objects

... and many more to come.



Photo by Richard Ecsedi on Unsplash


Smells are certain structures in the code that suggest (sometimes they scream for) the possibility of refactoring

Martin Fowler

https://maximilianocontieri.com/software-engineering-great-quotes


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

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

We look forward to your comments and suggestions on this article.

Want more #codesmell deep dives?

Join 6,048+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

1 Comment

0 votes

More Posts

The Esoteric Realms of Code

nevmenandr - Nov 14

TypeScript Complexity Has Finally Reached the Point of Total Absurdity

Karol Modelski - Apr 23

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

The Audit Trail of Things: Using Hashgraph as a Digital Caliper for Provenance

Ken W. Algerverified - Apr 28
chevron_left
8.9k Points • 261 Badges
Buenos Aires, Argentina • maximilianocontieri.com
89Posts
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)

1 comment
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!