4 ms·
> All types in the hierarchy need to know about one another. Adding a new type requires changing all other types. This was solves a few decades ago in smalltal
by riffraff 2y ago
> All types in the hierarchy need to know about one another. Adding a new type requires changing all other types.
This was solves a few decades ago in smalltalk with the coerce protocol (aka double dispatch).
This article feels quite strawmanish.