> Well technically you can replace all uses of inheritance with object variants > (I think). But in some cases it will get too verbose :)
In the sense that all turing-complete languages are equivalent... With variants, you have to know and handle all the possible classes at every "method" implementation. With inheritance, the implementations can be done independently. Equivalent capability, of course, but vastly different from a management/maintenance perspective.
