4 ms·
Classes and inheritance are features of type systems, not OOP. Plenty of functional programming JS libraries use classes for testing types (for example, the Eit
by zdragnar 10y ago
Classes and inheritance are features of type systems, not OOP. Plenty of functional programming JS libraries use classes for testing types (for example, the Either monads' Left and Right).
- paulddraper 10y agoClasses and class inheritance are features of class-based systems, yes. Prototypes and prototype inheritance are features of prototype based systems.