Connecting Tech Pros Worldwide Forums | Help | Site Map

Q question about inheritance

Tony Johansson
Guest
 
Posts: n/a
#1: Jul 23 '05
Hello!

What does this mean.

"The use of inheritance to provide various implementations of a single
abstraction tightly binds these implementations to the abstarction. Therfore
it, is difficult to update the client's code and reuse the abstraction, In
C++, the complete class definition, including the private and protected
sections, is needed to compile the client's code; this leads to a tight
coupling between the abstraction and its implementations, which makes
modifications more difficult."

I thougt inheritance was good it makes code reuse and so on.


//Tony


Donovan Rebbechi
Guest
 
Posts: n/a
#2: Jul 23 '05

re: Q question about inheritance


On 2005-05-22, Tony Johansson <johansson.andersson@telia.com> wrote:[color=blue]
> Hello!
>
> What does this mean.
>
> "The use of inheritance to provide various implementations of a single
> abstraction tightly binds these implementations to the abstarction. Therfore
> it, is difficult to update the client's code and reuse the abstraction, In
> C++, the complete class definition, including the private and protected
> sections, is needed to compile the client's code; this leads to a tight
> coupling between the abstraction and its implementations, which makes
> modifications more difficult."
>
> I thougt inheritance was good it makes code reuse and so on.[/color]

You've already posted this 5 times. Crapflooding the newsgroup isn't going to
help you get more responses.

Cheers,
--
Donovan Rebbechi
http://pegasus.rutgers.edu/~elflord/
Victor Bazarov
Guest
 
Posts: n/a
#3: Jul 23 '05

re: Q question about inheritance


Donovan Rebbechi wrote:[color=blue]
> On 2005-05-22, Tony Johansson <johansson.andersson@telia.com> wrote:[color=green]
>> [...]
>> I thougt inheritance was good it makes code reuse and so on.[/color]
>
> You've already posted this 5 times. Crapflooding the newsgroup isn't
> going to help you get more responses.[/color]

But it definitely can land you in some killfiles...


Closed Thread