3 ms·
prototypes are actually a really good way to deal with inheritance.
by kabes 11y ago
prototypes are actually a really good way to deal with inheritance.
- cpburns2009 11y agoSingle inheritance is awfully limiting which is what Javascript's prototypes provide. And structurally copying multiple prototypes into a single object to achieve multiple inheritance is an awful hack.
- Retra 11y agoNot having inheritance is also a pretty good way to deal with inheritance.