Re:Go and Rust – objects without class
by PommeDeTerre on Saturday May 04, 2013 @05:12PM
(#5656341)
Patrick, please notice that I replied to pjmlp's comment, which specifically mentioned JavaScript and its prototype-based OO.
While the article may be about Rust and Go, some of the discussion here may naturally go beyond the article's content.
Case in point: the models of Rust and Go have nothing to do with prototype-based OO. Typeclasses as Rust uses are in fact about as far as you can get from prototype-based OO: they are less dynamic, not more dynamic. There is no virtual dispatch involved at all. Neither Rust nor Go have any support for prototype-based OO.
I understand you dislike JavaScript, but would you please stop derailing comment threads that have nothing to do with it?