---
title: "Discussion on \"Code Smell 145 - Short Circuit Hack\" | Hashnode"
description: "Discussion on \"Code Smell 145 - Short Circuit Hack\". Don't use boolean evaluation as a readability shortcut"
url: "https://hashnode.com/posts/code-smell-145-short-circuit-hack/62bda672e4246414d3d2d271"
---

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

Discussion

# [Code Smell 145 - Short Circuit Hack](https://maximilianocontieri.com/code-smell-145-short-circuit-hack?utm_source=hashnode&utm_medium=feed)

Don't use boolean evaluation as a readability shortcut

Jun 30, 2022 · 2 min read · maximilianocontieri.com  
Updated Dec 31, 2022  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#code-smell-1](https://hashnode.com/tag/code-smell-1)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)

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

Markdown supported · ⌘↵ to post

[Gary McMeekin](https://hashnode.com/@garymcm)

[Jul 2, 2022](https://hashnode.com/posts/code-smell-145-short-circuit-hack/62bda672e4246414d3d2d271/comment/62c02f61ccecfb25bbc730e0)

I wrote this same thing on Reddit recently and was downvoted to hell! I feel validated reading this.
