Yeah, I'm increasingly uninterested in making most functions generic.
in Julia inheritance is only of "abstract types" where are interfaces (no state), right? Seems similar.
-
-
Big difference is that Julia inheritance is single inheritance. That's the biggest weakness as interface system.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
given that, an interesting thought experiment is this FP-inspired twist on Julia: a) no explicit inheritance,
-
b) abstract types still exist, and are used (required) in the signatures for generic functions,
-
c) a concrete type "inherits" from an abstract type iff there are implementations for all generic fns which
-
... reference that abstract type.
-
(to feel a bit more static, require that generic fns can only reference abstract types from their own module)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.