3 ms·
Does Julia have an equivalent to interfaces?
by RivieraKid 13y ago
Does Julia have an equivalent to interfaces?
- 3JPLW 13y agoKinda sorta not really. Abstract supertypes currently behave somewhat like an interface. But because multiple inheritance is still an open issue [1], it doesn't really fulfill the requirements of an interface. But it looks like it's definitely on the roadmap [2]. [1] https://github.com/JuliaLang/julia/issues/5#issuecomment-33031468 https://github.com/JuliaLang/julia/issues/5#issuecomment-330... [2] https://github.com/JuliaLang/julia/issues/4935#issuecomment-31874539 https://github.com/JuliaLang/julia/issues/4935#issuecomment-... [See also:] https://github.com/JuliaLang/julia/issues/2248 https://github.com/JuliaLang/julia/issues/2248
- RivieraKid 13y agoGreat, thanks for the links.