---
title: "Discussion on \"Code Smell 94 - Too Many imports\" | Hashnode"
description: "Discussion on \"Code Smell 94 - Too Many imports\". If your class relies on too many others, it will be coupled and fragile. A long import list is a good indicator.\n\nTL;DR: Don't import too much.\n\nProblems\n\nCoupling\n\nSingle Responsibility Principle violation\n\nLow Cohesion\n\n\nSolutions\n\nBreak the class\n..."
url: "https://hashnode.com/posts/code-smell-94-too-many-imports/61682a4718374f257327904d"
---

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

Discussion

# [Code Smell 94 - Too Many imports](https://maximilianocontieri.com/code-smell-94-too-many-imports?utm_source=hashnode&utm_medium=feed)

If your class relies on too many others, it will be coupled and fragile. A long import list is a good indicator. TL;DR: Don't import too much. Problems Coupling Single Responsibility Principle violation Low Cohesion Solutions Break the class ...

Oct 14, 2021 · 2 min read · maximilianocontieri.com  
Read the article

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

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

[Vincent Tsen](https://hashnode.com/@vtsen)

[Oct 20, 2021](https://hashnode.com/posts/code-smell-94-too-many-imports/61682a4718374f257327904d/comment/616f7eaa41c1b75f924d9d18)

Interesting, good one. I haven't thought of this from this perspective.
