Re:Classes Considered Harmful [pdf]
by recursive on Tuesday January 03, 2017 @08:54PM
(#13315050)
OOP isn't the solution to every problem. Your proposed replacement to inheritance would would work nicely in some cases. As far as I can tell, it doesn't address the use case of generic classes at all, at least in a type-safe way.
[ Parent
| on HN ]
Generics and OOP are orthogonal, one does not depend on the other. So let's say you declare your vtbl struct with a generic parameter, what's the difference?