Object Oriented Languages
This is an excerpt from the paper...
This research and analysis paper will discuss two seminal Object Oriented Programming (OOP) languages, Smalltalk and C++. The paper will be presented in the following sections: Part One, Introduction; Part Two, The Early Languages; Part Three, Smalltalk; Part Four, C++; Part Five, Conclusions. Computer programming is the act of creating a set of instructions for the computer to follow. In the earliest days of computer programming, the languages were simple and consisted of writing instructions for handling the logic of transactional efforts (Cox & Novobilski, 1991; Park & Miller, 1988). The standard languages that were "date oriented" were, according to the Special Interest Group on Programming Languages (SIGPLAN) of the Association for Computing Machinery, ALGOL, APL, APT, BASIC, COBOL, FORTRAN, GPSS, JOSS, JOVIAL, LISP, PL/I, SIMULA, and SNOBOL. These languages were basically computational, and when data needed to be changed or updated, the computations had to be redone (Cox & Novobilski, 1991). As an offshoot of these "logic oriented" languages, there developed a concept of "object oriented" languages. Object-oriented programming (OOP) has as its basic organizational premise that the computational efforts should be structured around "objects" rather than "actions" (Rovner, 1986). The history of computer programming has been to spend the time and effort dealing with the logic of how to compute and handle
. . .
ewCollection := self species
new.
self do: [:each |
aBlock value: each)
ifTrue: [newCollection add: each]].
newCollection
It responds to the message by iterating through its members and evaluating a Block code once for each character; a Block (aCharacter isVowel) when evaluated creates a Boolean, which is then sent ifTrue:. If the Boolean is true, the character is added to a string to be returned.
Because select is defined in the abstract class Collection, the concept action can also be written like this:
| rectangles aPoint|
rectangles := OrderedCollection
with: (Rectangle left: 0 right: 10 top: 100 bottom: 200)
with: (Rectangle left: 10 right: 10 top: 110 bottom: 210).
aPoint := Point x: 20 y: 20.
collisions := rectangles select: [:aRect | aRect containsPoint: aPoint].(Savic, 1990)
Although the Smalltalk 80 language specification was finally published in 1980, it would take many years before the language would find much use, since it relied on system support that most PCs didn't have.
Smalltalk was a radical change from existing programming languages, using as it did a concept of "dynamic binding." Under dynamic binding, Smalltalk examines the type of every piece of data at runtime (as opposed
. . .
Some common words found in the essay are:
BASIC Mahoney, Smalltalk C++, OrderedCollection Rectangle, ANSI C, Bell Labs, Office Equipment, Ole-Johan Dahl, Denis Ritchie, Cox Novobilski, Similarly Integer, bell labs, c++ release, programming languages, programming language, cox novobilski 1991, cox novobilski, novobilski 1991, object-oriented programming, data types, object oriented, computer programming, = û 1, c++ programming language, edition reading ma, object oriented programming,
Approximate Word count = 4482
Approximate Pages = 18 (250 words per page)
More Essays on Object Oriented Languages
|