---
title: "Discussion on \"Code Smell 83 - Variables Reassignment\" | Hashnode"
description: "Discussion on \"Code Smell 83 - Variables Reassignment\". Variable reuse is something we see in big chunks of code.\n\nTL;DR: Don't reuse variable names. You break readability and refactor chances and gain nothing but laziness.\n\nProblems\n\nReadability\n\nRefactor chances\n\nMissed Optimization\n\nMutability\n\nGarbage..."
url: "https://hashnode.com/posts/code-smell-83-variables-reassignment/60ee54ad573c235ee63a4a97"
---

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

Discussion

# [Code Smell 83 - Variables Reassignment](https://maximilianocontieri.com/code-smell-83-variables-reassignment?utm_source=hashnode&utm_medium=feed)

Variable reuse is something we see in big chunks of code. TL;DR: Don't reuse variable names. You break readability and refactor chances and gain nothing but laziness. Problems Readability Refactor chances Missed Optimization Mutability Garbage...

Jul 14, 2021 · 2 min read · maximilianocontieri.com  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#variables](https://hashnode.com/tag/variables)

## 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.
