2 ms·
> I am curious to know why public vs private inheritance was amongst them, being that it is a core feature of nearly all object-oriented programming languages.
by dpark 8y ago
> I am curious to know why public vs private inheritance was amongst them, being that it is a core feature of nearly all object-oriented programming languages.
Private inheritance is not "a core feature of nearly all object-oriented programming languages". C# doesn't support this, nor does Java. I don't believe Python or Javascript support this in a first-class way either.
- lordnacho 8y agoI think in Python everything is "public". C# it's been a while, I think you're right though. If you came from either of these languages and read a c++ file, you'd eventually wonder why there's this extra keyword in the inheritance specifier.