I've heard that using a lot of polymorphism is bad and that it's better code design to avoid polymorphism where ever possible. Is this true?
you probably heard that about Inheritance. The design principle being favor object composition over class inheritance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With