3 ms·
Q: Who uses inheritance in C++, anymore? A: Java coders. Inheritance defines a mechanism that is sometimes useful. It is useless as an interface design tool.
by ncmncm 8y ago
Q: Who uses inheritance in C++, anymore?
A: Java coders.
Inheritance defines a mechanism that is sometimes useful. It is useless as an interface design tool.
- bluejekyll 8y agoWith Java 1.8 you can ask the same thing about Java and the answer would be the same. I didn’t mean to suggest that it’s idiomatic in C++ to create strange inheritance graphs, anyone who’s done it once realizes it’s a bad pattern. The issue is more that the language -allows- it.