Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wikipedia implies that multiple dispatch is done by run-time time analysis in OO languages, which does not apply to Haskell or Rust: https://en.wikipedia.org/wiki/Multiple_dispatch

Maybe it's being pedantic, but I can't tell. Are Haskell's type classes strictly as flexible as multiple dispatch?



The proposed Rust feature sounds like overloading rather than multiple dispatch as it is usually understood.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: