C++: OO methodologies

A

A

Hi,

I have some questions about object-orientated methodologies in the context
of C++:

1) What does object-based mean and object-orientated mean? All i know is
that object orientated builds neatly into object-based.

2) What are the 3-4 most important features of OO programming languages? I
gather they are:
- inheritance
- polymorphism
- ?
- ?

3) How have these features benefit the programmer? I gather:
- reuse
- reliability
- ease of development
- maintenance

but how exactly?


Any help appreciated.

Regards,
A
 
N

Nils Petter Vaskinn

I have some questions about object-orientated methodologies in the context
of C++: [snip]
Any help appreciated.


Methinks the best help you can get is no help, since that will force you
to do your own homework, which may cause you to learn something, which
might make you pass your exams.
 
T

Thomas Matthews

A said:
Hi,

I have some questions about object-orientated methodologies in the context
of C++:

1) What does object-based mean and object-orientated mean? All i know is
that object orientated builds neatly into object-based.
In a book that I read, the author collected the leading OO authorities
in a room and wouldn't let them out until they defined the meaning
of object-oriented. Alas, none could agree on a single definition,
but they could come up with a list common elements of Object Oriented
programming.

Good luck. Try reading through the newsgroup.

2) What are the 3-4 most important features of OO programming languages? I
gather they are:
- inheritance
- polymorphism
- ?
- ?
I only know 1 OO language, but I know the concepts. The concepts can
be implemented in non-OO languages.

Why does it matter the importance of the features?
One should concentrate on know when to use a feature and when
not to. For example, inheritance should not be used when
containment will suffice.

3) How have these features benefit the programmer? I gather:
- reuse
- reliability
- ease of development
- maintenance

but how exactly?
By asking the Deep Thought computer, one might come up
the correct answer. But a simple meditation and applying
the Brainstorming technique, one can come up with a list
of benefits from the above.

You might also want to investigate how the OO features
negatively impact a program.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
 
J

jeffc

A said:
Hi,

I have some questions about object-orientated methodologies in the context
of C++:

1) What does object-based mean and object-orientated mean? All i know is
that object orientated builds neatly into object-based.

I'm not sure what that last statement means. Most people say that of the 3
key "ingredients" of Object-Oriented programming, if it just has
objects/classes then it's called Object-Based.
As to the rest of your questions (well, that one too I guess), it sounds
suspiciously like homework, so I won't answer unless you have more specific
questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top