3 ms·
Selective implementation inheritance is actually quite useful for kernel/driver development if its used where function pointers in C tend to be used. Pluggable
by StillBored 5y ago
Selective implementation inheritance is actually quite useful for kernel/driver development if its used where function pointers in C tend to be used. Pluggable interfaces. It standardizes the syntax, provides default implementations, and forces implementation of mandatory methods.
C++ when used as a better C, really is better.
- zozbot234 5y agoPluggable interfaces are ok, and Rust supports them just fine via traits. Actual implementation inheritance is inherently anti-modular.