Isaac Gouy
Posts: 527
Nickname: igouy
Registered: Jul, 2003
|
|
Re: Modelling the real world.
|
Posted: Mar 9, 2004 1:55 PM
|
|
It's true that we want the vocabulary and relationships of the problem domain represented in our objects and methods. But that's not the same as "modeling the real world".
What in your view is the difference between encoding those relationships and modelling the problem domain?
OO was "discovered" when two guys who were using a block structured language to write a simulation engine played around with moving the stack frame for a block to the heap, thus making the blocks long-lived.
Those two guys being Ole-Johan Dahl & Kristen Nygaard.
Ole-Johan Dahl has written about: "The Birth of Object Orientation: the Simula Languages" http://heim.ifi.uio.no/~olejohan/birth-of-oo.pdf
Kristen Nygaard, in his ECOOP 2002 Banquet Speech, seems to be saying that OOP is about understanding, describing and representing a system (domain) on a computer. Isn't that modelling?
"In object-oriented programming the programs are not organised in a single sequence. Instead, an object is created for each individual component of the traffic system, the production system, the organisation system: Cars, aircraft, machines, operators, metal parts to be processed, offices, documents all are represented in the computer as objects.
Each object is described by 1) the set of data associated with it: Speeds of aircraft, weight of metal parts, addresses of documents, etc.,2) then the descriptions of actions the object is carrying out: traffic lights changing colour in a well-defined sequence, machines working on metal parts selected from a queue, and 3 finally also the interactions with other objects: a controller's office inspecting invoices and sending messages about payment authorising to the appropriate other offices, and so on.
In this way a system, including information systems, may be understood, described and represented by a collection of objects in a computer, each object acting and/or is acted upon through the carrying out of the parallel object-related computing sequences."
( Simula history, for the curious: "COMPILING SIMULA" Jan Rune Holmevik http://www.ifi.uio.no/~cim/sim_history.html )
|
|