DEV Community

Cover image for How to Find the Stinky parts of your Code
Maxi Contieri
Maxi Contieri

Posted on • Edited on • Originally published at maximilianocontieri.com

9 2

How to Find the Stinky parts of your Code

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

The code smells badly.

Let's see how to change the aromas.

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

... and many more to come.


Aroma

Photo by Richárd Ecsedi on Unsplash


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

Martin Fowler


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

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

Original Thread on Twitter

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay