T
Tony Johansson
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
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