---
title: "Discussion on \"How inheritance can complex your code in OOP design (If you use it wrong)\" | Hashnode"
description: "Discussion on \"How inheritance can complex your code in OOP design (If you use it wrong)\". Object Oriented Programming - Walk and Talk"
url: "https://hashnode.com/posts/how-inheritance-can-complex-your-code-in-oop-design-if-you-use-it-wrong/62b1526cc0f84f6b540d285f"
---

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

Discussion

# [How inheritance can complex your code in OOP design (If you use it wrong)](https://dulitharajapaksha.com/how-inheritance-can-complex-your-code-in-oop-design-if-you-use-it-wrong?utm_source=hashnode&utm_medium=feed)

Object Oriented Programming - Walk and Talk

Jun 21, 2022 · 9 min read · dulitharajapaksha.com  
Updated Sep 13, 2023  
Read the article

-   [#inheritance](https://hashnode.com/tag/inheritance)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#simple-yet-awesome](https://hashnode.com/tag/simple-yet-awesome)
-   [#composition](https://hashnode.com/tag/composition)

## Written by

[Dulitha Rajapaksha](https://hashnode.com/@iamdulithamahishka)

@iamdulithamahishka · Sri Lanka

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

Software Engineer, passionate coder, php, gamer, geek and a person who has a curiosity

Software Engineer, passionate coder, PHP, gamer, geek and a person who has a curiosity 🎓🎮🎧💻

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
