---
title: "Discussion on \"Code Smell 115 - Return True\" | Hashnode"
description: "Discussion on \"Code Smell 115 - Return True\". Booleans are natural code smells. Returning and casting them is sometimes a mistake"
url: "https://hashnode.com/posts/code-smell-115-return-true/62129b079ae0e67b657b8f08"
---

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

Discussion

# [Code Smell 115 - Return True](https://maximilianocontieri.com/code-smell-115-return-true?utm_source=hashnode&utm_medium=feed)

Booleans are natural code smells. Returning and casting them is sometimes a mistake

Feb 20, 2022 · 1 min read · maximilianocontieri.com  
Updated Mar 5, 2022  
Read the article

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

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