SW - Functional vs OOP
Polymorphism in OOP and FP
- cost of changing types
- cost of changing behaviours
- real-world SW requires changing frequently behaviours more than types ⇒ favors FP https://maxdeviant.com/posts/2020/a-primer-on-polymorphism/
opinion piece - critique of OOP
https://suzdalnitski.medium.com/oop-design-patterns-bd2c4fb3014c