Re: OOP can be simply summed up as 'passing messages to objects'
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 14:31:58 +0100
On 27 Feb 2006 04:33:25 -0800, Alfredo Novoa wrote:
Phlip ha escrito:
OOP is passing messages to objects, where each responds to a message with a
method.
Passing messages to objects is simply a fashionable synonym of:
invoking procedures.
They are complementary views. One can say [equivalently]:
1. Procedural view: I call a subroutine Foo, passing parameters X, Y and
receive the result Z.
2. Object view: I send a message Foo to X, Y and Z.
Neither view is full. You cannot do procedural decomposition without
objects or object decomposition without methods.
I would not call it synonymic. "Fishing" is not a synonym of "Fish."
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- References:
- Re: OOP can be simply summed up as 'passing messages to objects'
- From: Daniel T.
- Re: OOP can be simply summed up as 'passing messages to objects'
- From: Phlip
- Re: OOP can be simply summed up as 'passing messages to objects'
- From: Alfredo Novoa
- Re: OOP can be simply summed up as 'passing messages to objects'
- Prev by Date: Re: OOP can be simply summed up as 'passing messages to objects'
- Next by Date: Re: software architecture/design question
- Previous by thread: Re: OOP can be simply summed up as 'passing messages to objects'
- Next by thread: Re: OOP can be simply summed up as 'passing messages to objects'
- Index(es):
Relevant Pages
|