---
title: "Discussion on \"Code Smell 07 - Boolean Variables\" | Hashnode"
description: "Discussion on \"Code Smell 07 - Boolean Variables\". Boolean Variables are a code smell.\nThey push us to write IFS and violate open/closed SOLID principle"
url: "https://hashnode.com/posts/code-smell-07-boolean-variables/5f96bf97f9885b0b80180778"
---

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

Discussion

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

Boolean Variables are a code smell. They push us to write IFS and violate open/closed SOLID principle

Oct 26, 2020 · 2 min read · maximilianocontieri.com  
Updated Jun 8, 2021  
Read the article

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

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