I\'m working on Juno with Julia.
I don\'t know if Julia supports OOP or not.
For example, is there something like class
or struct
of c+
Yes. You just can't inherit from concrete "classes" with fields, only from abstract ones. This is because the memory layout of a concrete struct in Julia is part of its interface, and being able to subclass it by adding fields would break the Liskov substitution principle.
However, Functions with multiple dispatch are a strict generalization of methods with single dispatch and are strictly more polymorphic. You just have to define them outside of a class definition, because they can "belong" to multiple objects.
Traditional methods in an OO language are a special case of Julia functions where you only have dispatching based on the first argument.