Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by tombert on Wednesday January 23, 2019 @10:59AM
(#18979306)
Forgive a bit of ignorance here, but that doesn't sound terribly different than overloading functions in C++. Am I way off on that?
[ Parent
| on HN ]
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by KenoFischer on Wednesday January 23, 2019 @11:05AM
(#18979395)
The difference is run-time (semantically) vs compile time. If you had overloading at runtime in C++, you wouldn't need virtual functions or any of the thousands of OO "patterns" (visitor, factory, etc.), that are working around the lack of this capability.