3 ms·
> I learned pretty early that inheritance relations can be trivially refactored into a delegation based design You can go much farther and discover that OO sta
by zzzcpan 7y ago
> I learned pretty early that inheritance relations can be trivially refactored into a delegation based design
You can go much farther and discover that OO state mutations across multiple methods can be replaced with higher order functions that let you keep state mutations local, within context of each function. Suddenly OO becomes this weird very unproductive and error prone way of writing and reading code. An entire OO concept is just bad, always was, nothing can fix it.
At least with Javascript higher order programming was always possible.
- yhdezalvarez 7y agoWhat are you referring to? Could you give an small example (in JS or any other language)/links/for me to chew on?