---
title: "Discussion on \"7 anti-patterns you should avoid in your code\" | Hashnode"
description: "Discussion on \"7 anti-patterns you should avoid in your code\". In this article, you will learn what anti-pattern is, the effects of anti-pattern, and how to avoid it. You also learn 7 anti-patterns to avoid while coding"
url: "https://hashnode.com/posts/7-anti-patterns-you-should-avoid-in-your-code/67760ec24000fc28a4243d15"
---

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

Discussion

# [7 anti-patterns you should avoid in your code](https://susanodii.hashnode.dev/7-anti-patterns-you-should-avoid-in-your-code?utm_source=hashnode&utm_medium=feed)

In this article, you will learn what anti-pattern is, the effects of anti-pattern, and how to avoid it. You also learn 7 anti-patterns to avoid while coding

Jan 2, 2025 · 11 min read · susanodii.hashnode.dev  
Updated Jan 3, 2025  
Read the article

-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#antipattern](https://hashnode.com/tag/antipattern)

## Written by

[Susan Odii](https://hashnode.com/@Susanodii1)

@Susanodii1 · United Kingdom

  
[View profile](https://hashnode.com/@Susanodii1)

I learn better when I write about it.

Susan is a Frontend Web Developer. She is passionate about creating beautiful and engaging UI with good user experience. Susan is also a technical writer who writes on Frontend technologies to help other developers get a better understanding of a concept.

## Responses 1

Markdown supported · ⌘↵ to post

[Chukwuebuka Nwokporo](https://hashnode.com/@codedaddy)

[Jan 18, 2025](https://hashnode.com/posts/7-anti-patterns-you-should-avoid-in-your-code/67760ec24000fc28a4243d15/comment/678b7223adbb847a93ead711)

Great write Susan. Thanks.

[Susan Odii](https://hashnode.com/@Susanodii1)

[Jan 20, 2025](https://hashnode.com/posts/7-anti-patterns-you-should-avoid-in-your-code/67760ec24000fc28a4243d15/comment/678b7223adbb847a93ead711#reply-678de31f5c5a7410ec7bf9a7)

Thank you very much I appreciate
