News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by lelanthran on Thursday May 08, 2025 @05:50AM (#43924654)
> C++ does not (or at least did not at the time) have a concept of interfaces. There was a pattern in some development communities for defining interfaces by writing classes that followed particular rules, but no first-class support for them in the language.

Your distinction between "first class support for interfaces" and "C++ support for interfaces" looks like an artificial one to me.

Other than not requiring the keyword "interface", what is it about the C++ way of creating an interface that makes it not "first class support"?

There are no comments on this comment yet.