Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol > Re: Interesting...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 44 of 74 Topic 4071 of 4196
Post > Topic >>

Re: Interesting take on Paradigms (OO vs Procedural)

by "Pete Dashwood" <dashwood@[EMAIL PROTECTED] > Apr 1, 2008 at 12:57 PM

"Rick Smith" <ricksmith@[EMAIL PROTECTED]
> wrote in message 
news:13utjs3674qjr8f@[EMAIL PROTECTED]
>
> "Pete Dashwood" <dashwood@[EMAIL PROTECTED]
> wrote in message
> news:657mp4F2dooroU1@[EMAIL PROTECTED]
>>
>>
>> "Rick Smith" <ricksmith@[EMAIL PROTECTED]
> wrote in message
>> news:13ur5tg3con5ja4@[EMAIL PROTECTED]
>> >
>> > "Pete Dashwood" <dashwood@[EMAIL PROTECTED]
> wrote in message
>> > news:65553nF2cjsrhU1@[EMAIL PROTECTED]
>> >>
>> >>
>> >> "Rick Smith" <ricksmith@[EMAIL PROTECTED]
> wrote in message
>> >> news:13uq9i0e2sfdd1a@[EMAIL PROTECTED]
>> >> >
>> >> > < 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
>> > the
>> >> implications of those differences are two different things.
>> >>
>> >> The comment above implies that the commentator sees no difference
> between
>> > a
>> >> "structure" and an "object", yet anyone who has worked with these
> things
>> > in
>> >> 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.
>> >
>> You are looking only at the mechanics of an implementation. The 
>> conceptual
>> use of objects is WAY more im****tant. But you only come to appreciate 
>> that
>> when you start using them for systems in the real world, and not just
to
>> describe some academic argument.
>>
>> Whether objects implement inheritance through a vtable or not is
> completely
>> irrelevant to the use of objects. For you, an object is just a
structure
> in
>> memory; for me, it is much more than that. I visualise objects as
>> representing a real world entity and having attributes and behaviours 
>> that
> a
>> structure alone can never have. Perhaps it comes down to imagination
and
>> vision.
>
> I used to see objects as real world entities. Now I associate
> real world entites with cl*****, because the methods in the
> cl***** repesent behavior.

Yes, that is fair comment. I used "object" (an instance of a Class) where
I 
should probably have used "Class".

Certainly the Class has methods which constitute the behaviour of the
Class 
but until it is instantiated there is no behaviour anyway, so perhaps 
"object" is not really so wrong.

> If one is to "simulate" anything,
> it is the behavior that is to be simulated.

Technically that is true. The data isn't simulated. But conceptually it is

the synergy derived from the COMBINATION of behaviours AND data (as a
single 
encapsulated whole) that makes Objects so powerful.
>
> To simulate a business, the behavior occurs in employees,
> customers, orders, accounts, etc.; but to simulate the
> financial systems of a business the behavior is in clerks, and
> the employees, customers, orders, accounts, etc., become
> just data structures devoid of behavior.

Only if you see it like that. :-)

At this point, I think we diverge.

> This is not much
> different than a card game, where the dealer and players
> have behavior but the cards don't; even though the cards
> are real world entities.

The cards certainly DO exhibit behaviour. If they behave well you go home 
rich. :-)

Pete.
-- 
"I used to write COBOL...now I can do anything."
 




 74 Posts in Topic:
Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 12:08:44 
Re: Interesting take on Paradigms (OO vs Procedural)
Howard Brazee <howard@  2008-03-28 11:22:51 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 13:10:05 
Re: Interesting take on Paradigms (OO vs Procedural)
Howard Brazee <howard@  2008-03-28 12:31:28 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 14:33:27 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 14:53:00 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-03-29 10:16:59 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 18:01:42 
Re: Interesting take on Paradigms (OO vs Procedural)
"Charles Hottel"  2008-03-28 22:57:57 
Re: Interesting take on Paradigms (OO vs Procedural)
Alistair <alistair@[EM  2008-03-29 12:01:10 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-03-30 09:05:25 
Re: Interesting take on Paradigms (OO vs Procedural)
docdwarf@[EMAIL PROTECTED  2008-03-30 01:03:06 
Re: Interesting take on Paradigms (OO vs Procedural)
Robert <no@[EMAIL PROT  2008-03-29 23:19:59 
Re: Interesting take on Paradigms (OO vs Procedural)
Alistair <alistair@[EM  2008-04-01 11:23:23 
Re: Interesting take on Paradigms (OO vs Procedural)
"tlmfru" <la  2008-03-28 14:07:59 
Re: Interesting take on Paradigms (OO vs Procedural)
Howard Brazee <howard@  2008-03-28 13:54:59 
Re: Interesting take on Paradigms (OO vs Procedural)
Kellie Fitton <KELLIEF  2008-03-28 14:11:19 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 18:54:27 
Re: Interesting take on Paradigms (OO vs Procedural)
"Charles Hottel"  2008-03-28 22:50:47 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 22:47:17 
Re: Interesting take on Paradigms (OO vs Procedural)
Kellie Fitton <KELLIEF  2008-03-28 14:13:40 
Re: Interesting take on Paradigms (OO vs Procedural)
"Charles Hottel"  2008-03-28 22:55:47 
Re: Interesting take on Paradigms (OO vs Procedural)
Alistair <alistair@[EM  2008-03-28 18:10:10 
Re: Interesting take on Paradigms (OO vs Procedural)
Alistair <alistair@[EM  2008-03-28 18:12:53 
Re: Interesting take on Paradigms (OO vs Procedural)
docdwarf@[EMAIL PROTECTED  2008-03-29 01:15:20 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-03-30 08:59:23 
Re: Interesting take on Paradigms (OO vs Procedural)
Richard <riplin@[EMAIL  2008-03-28 13:41:46 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-03-29 10:42:50 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 19:20:59 
Re: Interesting take on Paradigms (OO vs Procedural)
"Charles Hottel"  2008-03-28 23:01:10 
Re: Interesting take on Paradigms (OO vs Procedural)
"tlmfru" <la  2008-03-31 12:20:41 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-01 12:44:13 
Re: Interesting take on Paradigms (OO vs Procedural)
docdwarf@[EMAIL PROTECTED  2008-04-01 00:01:46 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-02 10:50:55 
Re: Interesting take on Paradigms (OO vs Procedural)
Richard <riplin@[EMAIL  2008-04-01 16:24:52 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-02 13:40:05 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 19:51:12 
Re: Interesting take on Paradigms (OO vs Procedural)
Richard <riplin@[EMAIL  2008-03-29 00:11:50 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-29 09:24:32 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-03-29 10:09:10 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-28 20:12:49 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-03-30 09:22:58 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-03-29 18:21:54 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-01 12:57:36 
Re: Interesting take on Paradigms (OO vs Procedural)
"Charles Hottel"  2008-03-28 22:47:37 
Re: Interesting take on Paradigms (OO vs Procedural)
tim <TimJ@[EMAIL PROTE  2008-03-29 06:18:19 
Re: Interesting take on Paradigms (OO vs Procedural)
tim <TimJ@[EMAIL PROTE  2008-03-29 06:27:30 
Re: Interesting take on Paradigms (OO vs Procedural)
tim <TimJ@[EMAIL PROTE  2008-03-29 20:47:39 
Re: Interesting take on Paradigms (OO vs Procedural)
Joe Zitzelberger <zber  2008-04-11 00:15:30 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-11 16:39:41 
Re: Interesting take on Paradigms (OO vs Procedural)
Richard Brady <rrllbrr  2008-04-11 13:51:06 
Re: Interesting take on Paradigms (OO vs Procedural)
"tlmfru" <la  2008-04-11 12:54:50 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-12 12:50:19 
Re: Interesting take on Paradigms (OO vs Procedural)
"tlmfru" <la  2008-04-12 19:20:03 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-13 21:07:14 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-12 12:36:35 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-11 14:29:11 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-12 18:55:25 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-12 13:47:33 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-12 14:42:48 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-13 20:33:47 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-13 22:39:57 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-14 15:34:49 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-13 23:47:34 
Re: Interesting take on Paradigms (OO vs Procedural)
"William M. Klein&qu  2008-04-14 14:24:00 
Re: Interesting take on Paradigms (OO vs Procedural)
"Pete Dashwood"  2008-04-15 13:14:01 
Re: Interesting take on Paradigms (OO vs Procedural)
Joe Zitzelberger <zber  2008-04-17 00:45:33 
Re: Interesting take on Paradigms (OO vs Procedural)
Joe Zitzelberger <zber  2008-04-17 00:37:38 
Re: Interesting take on Paradigms (OO vs Procedural)
"Charles Hottel"  2008-04-12 12:14:32 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-12 15:11:35 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-14 13:40:11 
Re: Interesting take on Paradigms (OO vs Procedural)
"Rick Smith" &l  2008-04-11 13:03:05 
Re: Interesting take on Paradigms (OO vs Procedural)
Richard Brady <rrllbrr  2008-04-13 19:04:10 
Re: Interesting take on Paradigms (OO vs Procedural)
"Frank Swarbrick&quo  2008-04-14 18:10:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 3:33:18 CDT 2008.