---
title: "Discussion on \"Code Smell 200 - Poltergeist\" | Hashnode"
description: "Discussion on \"Code Smell 200 - Poltergeist\". An object that appears and disappears mysteriously\n\nTL;DR: Add the necessary indirection layers, but no more.\n\nProblems\n\nAccidental complexity\n\nReadability\n\nYAGNI violation\n\n\nSolutions\n\nRemove the intermediate object\n\nContext\nA poltergeist (or gypsy ..."
url: "https://hashnode.com/posts/code-smell-200-poltergeist/64088a62009ee0d76accde54"
---

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

Discussion

# [Code Smell 200 - Poltergeist](https://maximilianocontieri.com/code-smell-200-poltergeist?utm_source=hashnode&utm_medium=feed)

An object that appears and disappears mysteriously TL;DR: Add the necessary indirection layers, but no more. Problems Accidental complexity Readability YAGNI violation Solutions Remove the intermediate object Context A poltergeist (or gypsy ...

Mar 8, 2023 · 2 min read · maximilianocontieri.com  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#debuggingfeb](https://hashnode.com/tag/debuggingfeb)

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

[Seasia Infotech](https://hashnode.com/@Seasia)

[Mar 9, 2023](https://hashnode.com/posts/code-smell-200-poltergeist/64088a62009ee0d76accde54/comment/64099d053e0c5ff6cf7f7507)

I Like the blog Maxi Contieri
