4 ms·
JavaScript and Self don't have classes, but they do have inheritance.
by adamlett 13y ago
JavaScript and Self don't have classes, but they do have inheritance.
- masklinn 13y agoSelf has delegation. Conflating delegation and inheritance is no better than conflating embedding and inheritance.
- munificent 13y agoDelegation seems pretty similar to inheritance to me. What am I missing?
- masklinn 13y agoIt doesn't set up is-a relationships and can be used for significantly more than differential inheritance (IIRC Self uses it for scoping).