Re: Interesting take on Paradigms (OO vs Procedural)




"Richard" <riplin@xxxxxxxxxxxx> wrote in message
news:c3525524-b3c3-451e-b747-69eea559fc18@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 29, 6:08 am, "Rick Smith" <ricksm...@xxxxxxx> wrote:
<http://www.cs.berkeley.edu/~jrs/4/lec/14>
-----
Why did the originators of object orientation rename "structures" to
"objects"
and "procedures" to "methods"?

Because they weren't 'programmers', they were simulation modellers.
Simula was/is a language for writing computer based simulations. For
example a petrol (gas) station will have a number of pumps, staff and
cars will arrive at various rates wanting various products and
services. Queuing theory will show some features, such as average
wait times, but simulation will give more information.

What is required in a simulation language is the ability to specify
different behaviours in the various objects being simulated. Some
drivers will bypass a gas station if the queue looks too long, or will
wait a variable time in the queue before giving up. 'classes',
'objects' and 'methods' is the language (jargon) of this activity, and
has been since before there were computers.

The book "Simulation Using GPSS", Thomas J. Schriber,
1974, covers the use of General Purpose Simulation System
to accomplish discrete event simulation. I find no mention of
"class", "object", or "method" in this book; thus, apparently,
these terms are not in the jargon of GPSS users. The author
uses procedural languages as a model for explaining the use
of GPSS.


.



Relevant Pages

  • Re: Alternatives to OO?
    ... statically-typed language without lexical closures or macros. ... functional programming is usually better than Object-Oriented programming, ... For simulation and event-handling where you have to take into account interactions that may go unforseen even to you, logic programming is an irreplaceable but expensive technique that may serve best. ...
    (comp.lang.lisp)
  • Continuous system simulation in Python
    ... I'm looking for any work/paper/ressource about continuous system ... I'm aware of SimPy for discrete event simulation, ... Python is my language of choice because of the keyword 'generic'. ...
    (comp.lang.python)
  • Re: Continuous system simulation in Python
    ... but what is really difficult is not to understand how to design ... >> simulation using Python or any similar object oriented languages (or ... >> found any work about continuous system. ... >> Python is my language of choice because of the keyword 'generic'. ...
    (comp.lang.python)
  • Re: ISE 8.1: simulation modelsm & tbw generated in Verilog instead of VHDL?!
    ... Can't find in help / documentation: where in ISE 8.1 are the options that ... into what language the testebnch file will be translated? ... In ISE 7.1 there was a neat option "Generated Simulation Language" in ... generates VHDL instead of Verilog. ...
    (comp.arch.fpga)
  • Re: Continuous system simulation in Python
    ... A good starting point is the book "Python Scripting for Computational ... > I'm aware of SimPy for discrete event simulation, ... > any work about continuous system. ... > an object oriented dynamic language, it's perfect for such a task. ...
    (comp.lang.python)