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

Interfaces are inheritance, just without code. But interfaces definitely serve at least one role of an abstract base class.



Maybe. But then even FP languages are considered OOP, as most of those languages have records and interfaces.


Yes I agree. Once you have interfaces with default implementations especially, you have non-nested OOP




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

Search: