Introduction to object-oriented programming

Object
Introduzione alla programmazione orientata oggetto Introdução à programação orientada objecto Einführung in die Objektorientierte Programmierung Introduction à la programmation orientée objet Introducción a la programación orientada a objetos

A new programming concept

Extract from "Understanding Active X and OLE" by David Chappel

"In the last 35 years, designers of computer hardware have gone from designing machines the size of a hangar to thin notebooks based on minuscule microprocessors.
In the same period, software developers have gone from writing programs in assembler and COBOL to writing even bigger programs in C and C++. We could call this progress (some people may disagree), but clearly the software world does not progress as rapidly as the hardware world. So what is it that hardware developers have that software developers don't?

The answer lies in the components used. If electronic hardware engineers had to start out from a heap of sand each time they designed a new hardware device, and the first step involved the extraction of silicon to manufacture integrated circuit boards, they would not progress very quickly. Thus, a hardware designer always builds a system based on ready-made components, each one having a specific function and providing a set of services via defined interfaces. The task of hardware designers is considerably easier thanks to the work of their predecessors.

Re-using components is also a way to create better software. Even today, software developers are still starting out from a heap of sand and following the same steps as hundreds of developers before them did. The result is often outstanding, but it could be improved. Creating new applications from existing components, which have already been tested, always tends to produce more reliable code. What's more, it simply proves to be faster and cheaper, which is just as important."

Object methods

The modular object approach involves creating a computerised representation of the real world elements that we are interested in, without worrying about how it is implemented, regardless of the programming language used. It therefore involves determining the objects and isolating their data and the functions that they use, methods were developed for this purpose. Between 1970 and 1990, several analysts developed object-oriented approaches, by 1994 there were more than 50 object methods. Nevertheless, only 3 methods actually caught on:

  • Rumbaugh's OMT method
  • Booch's BOOCH'93 method
  • Jacobson's OOSE method

Beginning in 1994, Rumbaugh and Booch (later joined by Jacobson in 1995) joined efforts to develop the UML (Unified Modeling Language) definition language, which defines a standard language by incorporating the advantages of various preceding methods (i.e. those of other analysts). This enables the complete programming of an application with a language that uses a modular approach for all components of the program being developed.

Last update on Thursday October 16, 2008 02:43:13 PM.This document entitled « Introduction to object-oriented programming » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Best answers for « Introduction to object oriented programming » in :
OOP - Polymorphism Show Definition of polymorphism The word polymorphism comes from Greek and means having several different forms. This is one of the essential concepts of object-oriented programming. Where inheritance is related to classes and (their hierarchy),...
OOP - Inheritance Show The concept of inheritance Inheritance is specific to object-oriented programming, where a new class is created from an existing class. Inheritance (often referred to as subclasses) comes from the fact that the subclass (the newly created class)...
[Myth] Visual Basic is an object-oriented language Show[Myth]Visual Basic is an object-oriented language Myth Reality Explanations Myth Visual Basic is an object-oriented language. Reality FALSE. Explanations This myth is popular, but unfortunately its false: VB6 is not an object...
Display Add/Remove Programs ShowDisplay Add/Remove Programs Solution When trying to uninstall a program in the add/remove programs, below error message appears on your screen: An unexpected error occurred Object does not support this property or method...
Compiling an assembly program with Nasm ShowCompiling an assembly program with Nasm Intro With LInux With Windows Intro Netwide Assembler (NASM) is an assembler and disassembler for the Intel x86 architecture and is commonly used to create 16-bit, 32-bit (IA-32) and 64-bit...
Programming languages ShowProgramming language A "programming language" is a language designed to describe a set of consecutive actions to be executed by a computer. A programming language is therefore a practical way for us (humans) to give instructions to a...
OOP - Data encapsulation ShowThe concept of encapsulation Encapsulation is a way of organising data and methods into a structure by concealing the the way the object is implemented, i.e. preventing access to data by any means other than those specified. Encapsulation...
Design Patterns ShowDesign Patterns Design Patterns is a set of best design practices that are used to address many recurring problems in object-oriented programming. The concept of Design Patterns was the result of work done by a group of 4 people (Erich Gamma,...