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, |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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". |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions