Replies: 3 comments 2 replies
|
Julia Modules are very similar to C++ namespaces, and struct is the main mechanism to do encapsulation. The difference (allowing for multiple dispatch) being that Julia allows for functional programming, 'all-three-closures', and dynamic-to-static type inference, |
1 reply
|
Is this class pattern used by the Julia developers? I don't think I've seen it around, concerned that we would use it for the SDK standardization and it'll be strange for Julia users. |
1 reply
|
If the intention is to boil down what we should consider as supported patterns in Julia, I'm not convinced that classical OOP is supported (it is, but by a bad Julia pattern). I'd be more comfortable saying "we don't do this here". |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is to show Julia can implement this pattern, but better patterns exist. Don't use this as a design guide, more as info for public benefit.
Also see Stefan's K. talk:
https://www.youtube.com/watch?v=kc9HwsxE1OY
All reactions