Re: Interesting take on Paradigms (OO vs Procedural)
- From: "Rick Smith" <ricksmith@xxxxxxx>
- Date: Fri, 28 Mar 2008 20:12:49 -0500
"Pete Dashwood" <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:65553nF2cjsrhU1@xxxxxxxxxxxxxxxxxxxxx
the
"Rick Smith" <ricksmith@xxxxxxx> wrote in message
news:13uq9i0e2sfdd1a@xxxxxxxxxxxxxxxxxxxxx
< http://www.cs.berkeley.edu/~jrs/4/lec/14 >
-----
Why did the originators of object orientation rename "structures" to
"objects"
and "procedures" to "methods"? Hubris and arrogance, in my opinion.
This simply says that the writer has not really understood the essential
differences. I read the full article and he/she does a good job of listing
the differences, but identifying differences and actually understanding
implications of those differences are two different things.a
The comment above implies that the commentator sees no difference between
"structure" and an "object", yet anyone who has worked with these thingsin
the real world would understand the essential difference. This is the
difference between Acadaemia and Reality.
H'm! Structure, in procedural, is accessed through a pointer.
Object, in object-based, is accessed through a reference.
Object, in object-oriented, is accessed through a reference;
but also holds a "vtable" to accommodate inheritance and
polymorphism.
The essential difference seems to be the extension of the
structure to add the "vtable" making the object a bigger
structure.
.
- Follow-Ups:
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Pete Dashwood
- Re: Interesting take on Paradigms (OO vs Procedural)
- References:
- Interesting take on Paradigms (OO vs Procedural)
- From: Rick Smith
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Pete Dashwood
- Interesting take on Paradigms (OO vs Procedural)
- Prev by Date: Re: Interesting take on Paradigms (OO vs Procedural)
- Next by Date: Re: Interesting take on Paradigms (OO vs Procedural)
- Previous by thread: Re: Interesting take on Paradigms (OO vs Procedural)
- Next by thread: Re: Interesting take on Paradigms (OO vs Procedural)
- Index(es):
Relevant Pages
|