Re:Classes Considered Harmful [pdf]
by euyyn on Wednesday January 04, 2017 @04:23AM
(#13316832)
> But virtual dispatch is trivial to add where you actually need it, a bunch of function pointers in a struct and you're good to go.
Or let the compiler do it for you? It's like saying I shouldn't use first-class closures, because they're also trivial to implement manually where I actually need them.
Or let the compiler do it for you? It's like saying I shouldn't use first-class closures, because they're also trivial to implement manually where I actually need them.