Deutsch   English   Français   Italiano  
<vj0cj5$2n835$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: olcott <polcott333@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: What is OOP? --- The most important aspect of OOP
Date: Fri, 6 Dec 2024 20:40:36 -0600
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <vj0cj5$2n835$1@dont-email.me>
References: <d8a5a0d563f0b9b78b34711d12d4975a7941f53a.camel@gmail.com>
 <86frn6og85.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 07 Dec 2024 03:40:37 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e9bb7a7e09a052885dc07388bbe7af3b";
	logging-data="2859109"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+l8SuH6IShmFx9jmMnkA0Z"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ehYaU6U9CtPyX6yKJUod5OpNR70=
X-Antivirus-Status: Clean
In-Reply-To: <86frn6og85.fsf@linuxsc.com>
Content-Language: en-US
X-Antivirus: Norton (VPS 241206-10, 12/6/2024), Outbound message

On 12/1/2024 10:34 PM, Tim Rentsch wrote:
> wij <wyniijj5@gmail.com> writes:
> 
> In response to the question of the subject line...
> 
> Just because a program is being written in a language that has
> functions doesn't mean that what is being done is functional
> programming.
> 
> Just because a program is being written in a language that has
> classes and objects doesn't mean that what is being done is
> object-oriented programming.
> 
> More than anything else object-oriented programming is a mindset
> or a programming methodology.  It helps if the language being
> used supports classes, etc, but the methodology can be used even
> in languages that don't have them.
> 
> A quote:
> 
>      My guess is that object-oriented programming will be in the
>      1980s what structured programming was in the 1970s.
>      Everyone will be in favor of it.  Every manufacturer will
>      promote his products as supporting it.  Every manager will
>      pay lip service to it.  Every programmer will practice it
>      (differently).  And no one will know just what it is.
> 
> That paragraph is taken from a paper written more than 40 years
> ago.  The prediction came true with a vengeance, even more than
> the author expected.  Most of what has been written about object
> oriented programming was done by people who didn't understand it.
> 
> Two more quotes, these from Alan Kay:
> 
>      I invented the term "Object Oriented Programming," and C++
>      is not what I had in mind.
> 
>      Though Smalltalk's structure allows the technique now known
>      as data abstraction to be easily (and more generally)
>      employed, the entire thrust of its design has been to
>      supersede the concept of data and procedures entirely;  to
>      replace these with the more generally useful notions of
>      activity, communication, and inheritance.

The most important aspect of OOP is the ability to decompose
a problem into independent component parts. This can eliminate
the side effects in the structured programming model that
result from global data.

-- 
Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius
hits a target no one else can see." Arthur Schopenhauer