|
Posted by Tony Marston on 10/19/24 11:51
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:Teadndafls4zHz3ZnZ2dnUVZ_v-dnZ2d@comcast.com...
> Tony Marston wrote:
>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>> news:7fCdnbmMO7sjJQLZnZ2dnUVZ_tidnZ2d@comcast.com...
>>
>>>Tony Marston wrote:
>>>
>>>>"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>>>news:tMydnfBVrd_suQLZnZ2dnUVZ_o6dnZ2d@comcast.com...
>>>>
>>>>
>>>>>Tony Marston wrote:
>>>>>
>>>>>
>>>>>>"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>>>>>news:ceOdneMn6a1vTwPZnZ2dnUVZ_oWdnZ2d@comcast.com...
>>>>>>
>>>>
>>>><snip>
>>>>
>>>>>>OO is about encapsulation, polymorphism and inheritance. Message
>>>>>>passing is incidental.
>>>>>>
>>>>>>
>>>>>>>And YOU are the one "bastardizing" OO. Your sloppy approach to
>>>>>>>programming is just what *real* OO is designed to eliminate. And it
>>>>>>>makes the coding much more maintainable, expandable and modifiable.
>>>>>>
>>>>>>
>>>>>>Not the way some people use OO. They deliberately make it more
>>>>>>complicated than it need be, while I keep it as simple as possible.
>>>>>>
>>>>>
>>>>>And that is where you are 100% wrong. Message passing is an integral
>>>>>part of both object-based and object-oriented languages.
>>>>>
>>>>>One bit of wisdom, Tony. Tis better to remain silent and have everyone
>>>>>thing you might be a fool than to open your mouth and remove all doubt.
>>>>>
>>>>>In the OO world you have removed all doubt.
>>>>
>>>>
>>>>The three principles of OO are encapsulation, polymorphism and
>>>>inheritance. Message passing does not appear in that list, so it is a
>>>>minor detail.
>>>>
>>>
>>>And that's where you are totally wrong.
>>
>>
>> Excuse me? After performing a google search on OOP all I see quoted time
>> after time are the three basic principles - encapsulation, inheritance
>> and polymorphism - so how could I possibly be wrong?
>>
>
> Maybe if you check some sites which know what they're talking about -
> instead of your own. Try some like:
>
> http://www.fincher.org/tips/General/SoftwareEngineering/ObjectOrientedDesign.shtml
> http://en.wikipedia.org/wiki/Object-oriented_programming
> http://www.awprofessional.com/bookstore/product.asp?isbn=0201824191&redir=1
> http://www.objectfaq.com/oofaq2/body/basics.htm
>
> Just for starters.
I got my information from these sites:
http://c2.com/cgi/wiki?ObjectOriented
http://c2.com/cgi/wiki?PolymorphismEncapsulationInheritance
http://en.wikipedia.org/wiki/Object-oriented_programming
http://www.phpbuilder.com/columns/luis20000420.php3
All I see about message passing is that it is how one object communicates
with another. This is a trivial detail compared with encapsulation,
inheritance and polymorphism. Even non-OO languages can pass messages, so
what's so important about it?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|