Monday, September 27, 2004

Object oriented programming - Example 1 & Some definitions

Object oriented programming provides world of flexibility in programming when you are out to program a complex large application. Its essence lies in its ability to provide a software application to be easily maintainable, scalable, extensible, robust.

Easily maintainable aspect of a software application is of interest. What if a user of your application ask for enhancement to include new car type in a car application. The software vendor should be easily able to enhance the exiting product and deliver the package related to that enhancement. The vendor also must ensure that the enhancement in no way break the software. Also, enhancement does not ask for much change. Also, enhancement does not require one to deliver the entire software release, but just a patch release of probably a software package.

All this brings into one's attention of the need of making a software application taking care of the following aspects of object oriented programming:
  • Rigidity
  • Fragility
  • Immobility
  • Viscosity

A good object oriented design must ensure that above factors have been given due attention.

This requires the designer to have deep understanding of basics of object oriented programming that includes following:

  • Class (Abstract class and concrete class)
  • Object
  • Message
  • Interface
  • Inheritance
  • Polymorphism

0 Comments:

Post a Comment

<< Home