Just for reference for people reading this thread I figure I’d highlight [ANN] CompositeStructs.jl which is maybe the least restrictive of these packages (ConcreteAbstractions.jl, Mixers.jl, Classes.jl, …) that try to mimick inheritance. Anyway, like the author of ConcreteAbstractions, I don’t feel strongly that this is a “great” solution that should be used alot, but maybe useful in certain situations.
marius311
130
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Workaround for traditional inheritance features in object-oriented languages | 40 | 10443 | November 14, 2017 | |
| About inheritance and abstract types | 46 | 10625 | June 12, 2020 | |
| Add type mixins to overcome subtype limitations | 41 | 7069 | May 29, 2017 | |
| Method inheritance the Julian way | 18 | 2665 | August 29, 2021 | |
| Is Julia's way of OOP superior to C++/Python? Why Julia doesn't use class-based OOP? | 146 | 34182 | October 11, 2021 |