---
title: "Discussion on \"Code Smell 136 -  Classes With just One Subclass\" | Hashnode"
description: "Discussion on \"Code Smell 136 -  Classes With just One Subclass\". Being generic and foreseeing the future is good (again).\n\nTL;DR: Don't over-generalize\n\nProblems\n\nSpeculative Design\n\nComplexity\n\nOver-Engineering\n\n\nSolutions\n\nRemove the abstract class until you get more examples\n\nContext\nIn the past, programmers to..."
url: "https://hashnode.com/posts/code-smell-136-classes-with-just-one-subclass/62919e780989e6b52feae6ac"
---

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

Discussion

# [Code Smell 136 - Classes With just One Subclass](https://maximilianocontieri.com/code-smell-136-classes-with-just-one-subclass?utm_source=hashnode&utm_medium=feed)

Being generic and foreseeing the future is good (again). TL;DR: Don't over-generalize Problems Speculative Design Complexity Over-Engineering Solutions Remove the abstract class until you get more examples Context In the past, programmers to...

May 28, 2022 · 2 min read · maximilianocontieri.com  
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)
-   [#classes](https://hashnode.com/tag/classes)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)

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