I am creating a PHP web application. I have a situation that, in my opinion, would contribute to a good time for nested inheritance. Anyway, here is my situation:
public class RecurringWeeklyEvent extends RecurringEvent { }
public class RecurringEvent extends Event { }
It does not seem to me that this will be a bad design practice; however, I am not an advanced object oriented programmer by any means. With that said, before I want to use this code in my application, I would like to know if this is a good or bad practice for more experienced / skilled programmers.
NOTE. I changed the header from multiple inheritance to nested inheritance after fixing the wrong term.
thank
Steve
source
share