I was commenting on posts referring to Nim as having multimethods, which it 
only barely does by the skin of its' teeth, not so much judging multimethods; 
nonetheless, I'll bite.

You may think Julia's multimethods are inferior, clearly the Julia designers 
[disagree](https://www.youtube.com/watch?v=kc9HwsxE1OY&ab_channel=TheJuliaProgrammingLanguage).
 Have you tried Julia for anything significant, even a few hundred LOC? I did, 
a few years ago, and I agree with Stefan Karpinski, there is a surprising 
amount of reuse because of multiple dispatch.

Does multiple dispatch belong in a statically typed systems level programming 
language like Nim? My gut says 'no', but I'm open minded. I think a better 
approach for Nim would be to adopt a more traditional OO system, with the goal 
of facilitating interoperation with C++, in the same way that Swifts' design 
was influenced by the goal of porting from Objective C.

Reply via email to