4012 shaares
74 private links
74 private links
A good point... everybody should know at this point that delegation should be favor. So why do we keep turning to inheritance even in cases we shouldn't? Convenience and writing less code mainly. Unfortunately that leads to bugs more often than not.