---
title: "Discussion on \"Code Smell 58 - Yo-yo Problem\" | Hashnode"
description: "Discussion on \"Code Smell 58 - Yo-yo Problem\". Searching for a concrete method implementation? Go back and forth, up and down.\n\nTL;DR: Don't ab(use) hierarchies.\n\nProblems\n\nDeep Hierarchies\n\nSubclassification for Code Reuse\n\nReadability\n\nLow Cohesion\n\nHigh Coupling\n\n\nSolutions\n\nFavor composition ..."
url: "https://hashnode.com/posts/code-smell-58-yo-yo-problem/600ce31b3b349540feb9e37e"
---

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

Discussion

# [Code Smell 58 - Yo-yo Problem](https://maximilianocontieri.com/code-smell-58-yo-yo-problem?utm_source=hashnode&utm_medium=feed)

Searching for a concrete method implementation? Go back and forth, up and down. TL;DR: Don't ab(use) hierarchies. Problems Deep Hierarchies Subclassification for Code Reuse Readability Low Cohesion High Coupling Solutions Favor composition ...

Jan 24, 2021 · 2 min read · maximilianocontieri.com  
Updated Dec 21, 2022  
Read the article

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

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