Hacker News new | past | comments | ask | show | jobs | submit login

> 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"?






Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: