1. Computing & Technology

Discuss in my forum

OOP Course :: Over the last few chapters we have been looking at inheritance, both subclassing and subtyping. Programmers often do not distinguish between these two forms since they are implemented in similar ways and are often used in combination. However subclassing (class or implementation inheritance) can easily be overused and subtyping (interface inheritance)can easily be underused.
Because of this we lose potential benefits of OO and develop systems that are more rigid and error prone than they need to be.

In this chapter we distinguish between these two forms of inheritance and look at some common errors in using them.

Read the full article to learn about Using and Abusing Inheritance in Delphi OOP.

Related:

Comments
September 13, 2006 at 3:12 am
(1) Keith Blows :

Thank you very much- this is fantastic material.

Any chance of a PDF for Ch 15?

September 22, 2006 at 2:29 am
(2) Zarko :

It’s here http://delphi.about.com/od/oopindelphi/a/delphi_oop16.htm.

Note: PDF of a PART (and a part consists of several chapters) is provided for download when the part ends.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Searches delphi oop inheritance delphi

©2012 About.com. All rights reserved.

A part of The New York Times Company.