---
title: "Discussion on \"Code Smell 02 - Constants and Magic Numbers\" | Hashnode"
description: "Discussion on \"Code Smell 02 - Constants and Magic Numbers\". A method makes calculations with lots of numbers without describing their semantics"
url: "https://hashnode.com/posts/code-smell-02-constants-and-magic-numbers/5f8ef17e1a610045ce581c02"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Code Smell 02 - Constants and Magic Numbers](https://maximilianocontieri.com/code-smell-02-constants-and-magic-numbers?utm_source=hashnode&utm_medium=feed)

A method makes calculations with lots of numbers without describing their semantics

Oct 20, 2020 · 1 min read · maximilianocontieri.com  
Updated Jun 20, 2022  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#code-smell-1](https://hashnode.com/tag/code-smell-1)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Maxi Contieri](https://hashnode.com/@mcsee)

@mcsee · Buenos Aires

  
[View profile](https://hashnode.com/@mcsee)

Software Engineer

I’m a senior software engineer loving clean code, and declarative designs. S.O.L.I.D. and agile methodologies fan.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
