---
title: "Discussion on \"Inheritance vs composition: a fight against Egyptian gods\" | Hashnode"
description: "Discussion on \"Inheritance vs composition: a fight against Egyptian gods\". Inheritance pyramids and composition to the rescue."
url: "https://hashnode.com/posts/inheritance-vs-composition-a-fight-against-egyptian-gods/65569efcf38a2fd784dab0e3"
---

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

Discussion

# [Inheritance vs composition: a fight against Egyptian gods](https://bite-sized.hashnode.dev/inheritance-vs-composition-a-fight-against-egyptian-gods?utm_source=hashnode&utm_medium=feed)

Inheritance pyramids and composition to the rescue.

Nov 16, 2023 · 4 min read · bite-sized.hashnode.dev  
Updated Nov 18, 2023  
Read the article

-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#composition-vs-inheritance](https://hashnode.com/tag/composition-vs-inheritance)
-   [#inheritance](https://hashnode.com/tag/inheritance)
-   [#composition](https://hashnode.com/tag/composition)

## Written by

[Gabriele Buffolino](https://hashnode.com/@Shurna)

@Shurna · Italy

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

Senior Principal Frontend Developer @ LivaNova

A collaborative Front End Software Developer with 17 years of experience, including 7 years focused on cutting-edge web development. Driven by a passion for continual learning.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
