Y
Hacker News
new
|
ask
|
show
|
jobs
by
Mageek
1777 days ago
Julia is not object-oriented. If you want to dispatch on the type of action, you include it in the method signature.
1 comments
DNF2
1777 days ago
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()
link
You are probably thinking of dot-method syntax, like this