3 ms·
Interesting post showing 2 approaches both leading to good composition. The Scala version is particularly noteworthy, as it is quite a good example of OOP whic
by plesn 16y ago
Interesting post showing 2 approaches both leading to good composition.
The Scala version is particularly noteworthy, as it is quite a good example of OOP which gets rid of inheritence as a pattern of code extension and uses mixin and function composition instead. This is going into the right direction.