Inheritance
- Workaround for traditional inheritance features in object-oriented languages
- Add type mixins to overcome subtype limitations
- Is there a Julian way to combine types generically or a design pattern that achieves the goal?
- Can I “couple” two types?
- abstract types with fields #4935
- Some clarifications (and best practices) on the OO model in Julia?
- what is the julian alternative to attribute inheritance
- Inheritance or trait function?
Traits
- Trait-based dispatch
- Check if a type implements an interface in Julia
- Providing traits, apis, generics, qualities, prototypes
- Traits and
where
syntax - SimpleTraits.jl
- everything about the traits are known at compile time (so no dynamic dispatch)