3 ms·
Julia is not object-oriented. If you want to dispatch on the type of action, you include it in the method signature.
by Mageek 5y ago
Julia is not object-oriented. If you want to dispatch on the type of action, you include it in the method signature.
- DNF2 5y agoActually, callable structs are a common pattern in Julia, and are not in opposition to multiple dispatch. You are probably thinking of dot-method syntax, like this object.action()