News for hackers. Stuff that matters.
Re:Javis.jl – Julia Animations and Visualizations by Mageek on Monday August 02, 2021 @01:52AM (#28033313)
Julia is not object-oriented. If you want to dispatch on the type of action, you include it in the method signature.
Re:Javis.jl – Julia Animations and Visualizations by DNF2 on Monday August 02, 2021 @10:15AM (#28036789)
Actually, 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()