I may have invented a new kind of inheritance in programming languages, I called it "deep inheritance".
Suppose that Companies have Employees. Now Suppose that there are two kinds of Companies: privately held companies and publicly traded companies.
Now, the employees from publicly traded companies have an addition attribute over the employees of privately held companies. So I could say that the Employees-Of-Privately-Held-Companies is a class and that the Employees-Of-Publicaly-Held-Companies is a class and that the latter inherits form the former?
It pretty hard to explain.
July 16, 2013 10:15 AM
July 16, 2013 10:51 AM