Is there any fundamental reason Julia doesn't support abstract multiple inheritance?

For example, I want to do something on these lines:

abstract Tree
abstract SupervisedModel
type DecisionTree <: Tree, SupervisedModel

This is currently not possible in Julia. Is this due to any fundamental reasons or just not yet implemented?

+3
source share
1 answer

This issue is currently under discussion. It seems that the implementation is complex and leads to many edge cases, but there are no fundamental reasons why this cannot be a language feature: https://github.com/JuliaLang/julia/issues/5

Also, https://groups.google.com/forum/#!msg/julia-dev/xBzQqhq5aLM/oUWpCqfaI30J

+4
source

All Articles