A new kind of inheritance in programming languages?

5 pts.
Tags:
File System
Object-oriented programming
Spreadsheets
Hi,
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Not really. It looks normal and pretty common to me. . Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following