Solved

OOP and Inheritance: How do we call the opposite of "inherit from"? Is it "inherit to"?

Posted on 2006-07-11
5
2,304 Views
Last Modified: 2013-11-25
Hi all Object Oriented programmers,

In OOP and Inheritance, how do we call the opposite of "inherit from"?
Ie I want to say: the parent gives attributes to the child.
Is it "inherit to"?

Are there any other options?
tia

Avi
0
Comment
Question by:progtw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 22

Assisted Solution

by:cookre
cookre earned 50 total points
ID: 17081490
passes
bestows
endows
passes down
bequeaths
imparts
0
 

Author Comment

by:progtw
ID: 17081525
to cookre:

I have never heard any of those words in tech usage for inheritance. Can you give links to some exampels on the net.

avi
0
 
LVL 1

Expert Comment

by:fwploeg
ID: 17081750
I would not say it like that, the parent takes no action towards the child. The child takes action to inherit from the parent.

So i would say:
The child (derived class) inherits attributes from the parent (base class)
The parent (base class) contains inherritable attributes for the child (derived class)


0
 
LVL 1

Accepted Solution

by:
fwploeg earned 75 total points
ID: 17081830
Well looked a bit further:
http://www.computer-dictionary-online.org/?q=object%2Doriented%20programming

Here the say "Methods or code in one class can be passed down the hierarchy to a subclass or inherited from a superclass".
So passes would be a good term.

The parent passes down attributes to the child..
0
 

Author Comment

by:progtw
ID: 17088216
to fwploeg

>> I would not say it like that, the parent takes no action towards the child. The child takes action to inherit from the parent.
>> The parent (base class) contains inherritable attributes for the child (derived class)

That is a very good point. However, I think in day to day speech we do find ourselves wanting to say "A inherits to B". And so we probably want to write it also.

>> The parent passes down attributes to the child..
The best of the worst. cookre also said that.

In Hebrew we don't have this problem. We have two real opposite words from the same root , one of which means to "inherit from" and the other to "inherit to".

I will split the points.

thnx


Avi



 
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Part One of the two-part Q&A series with MalwareTech.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Starting up a Project
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question