sometimes i find it funny that I learned about how inheritance works in object oriented programming in university when really the practice I've settled on for myself is "never implement code sharing with inheritance" which would have been a lot shorter
(i feel like there's a whole story about the history of inheritance out there that could be very interesting to read though)