Re: object-oriented programming explained in 51 lines
- From: topmind <topmind@xxxxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 15:31:02 -0800 (PST)
On Jan 30, 2:53 pm, Robert Martin <uncle...@xxxxxxxxxxxxxxxx> wrote:
On 2007-12-07 13:29:27 -0600, r...@xxxxxxxxxxxxxxxxxx (Stefan Ram) said:
What is object-oriented programming?
Writing programs in terms of data structures that are manipulated by
functions that are called through jump tables inside those data
structures.
What is an object-oriented programming language?
A language that automatically builds the data structures and jump
tables and disguises jump table lookup as regular function calls. OO
languages often allow similar data structures to share similar parts of
their jump tables.
Another way to say more or less the same thing is that OO uses maps (a
kind of datastructure) as its primary building block, and these map
cells can store values (attributes), references to other maps, or
programming code (methods). With some syntactical sugar to simplify
this map usage.
Although I disagree with many views of Robert Martin, his definition
of OOP is the most accurate of known OO authors, in my opinion. ("Jump
table" is a bit anachronistic, and thus confusing IMO, so I use "map"
instead.)
What is the main advantage of an object-oriented programming language?
Managing interdependencies between modules.
Not proven in practice outside of systems software.
Robert C. Martin (Uncle Bob) | email: uncle...@xxxxxxxxxxxxxxxx
-T-
.
- References:
- Re: object-oriented programming explained in 51 lines
- From: Robert Martin
- Re: object-oriented programming explained in 51 lines
- Prev by Date: Re: Why is Object Oriented so successfull
- Next by Date: Re: too much OOP ?
- Previous by thread: Re: object-oriented programming explained in 51 lines
- Next by thread: Re: object-oriented programming explained in 51 lines
- Index(es):
Relevant Pages
|