# Multiple Parent Types: How to go about it?

**URL:** <https://discourse.julialang.org/t/multiple-parent-types-how-to-go-about-it/66493>\
**Category:** General Usage\
**Tags:** question, inheritance\
**Created:** [August 16, 2021, 3:15pm UTC](https://discourse.julialang.org/t/multiple-parent-types-how-to-go-about-it/66493 "2021-08-16T15:15:45Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [August 24, 2021, 9:29am UTC](https://discourse.julialang.org/t/multiple-parent-types-how-to-go-about-it/66493/23 "2021-08-24T09:29:55Z")

</div>

This has been addressed in some of the discussions linked above, but maybe it helps to reiterate that

1. Julia does not have “inheritance” of _fields_, either single or multiple, and probably never will.

2. Types have supertypes. Supertypes are always _abstract_. This is useful for dispatch, mostly, and it should be thought of as a convenience feature that could be implemented with eg traits if we didn’t have it.

3. Traits are a special case of type stable mappings that allow implementing multiple supertype-like relations, among other things. But they are much more general than that, and mesh well with how Julia works.

---

_[View the full topic](https://discourse.julialang.org/t/multiple-parent-types-how-to-go-about-it/66493)._
