Mar 10, 2022
I can't recommend this article enough. I am a "favor composition over inheritance" dev. I prefer to have my classes simple and use functional approaches to problem solving.
However, there are some problems that are just solved more elegantly with proper inheritance. You not only discuss this issue, but you provide a sane solution. You also gave me some good areas to read and learn more. Thank you.