Deutsch   English   Français   Italiano  
<d8a5a0d563f0b9b78b34711d12d4975a7941f53a.camel@gmail.com>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wij <wyniijj5@gmail.com>
Newsgroups: comp.lang.c++
Subject: What is OOP?
Date: Mon, 02 Dec 2024 01:17:49 +0800
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <d8a5a0d563f0b9b78b34711d12d4975a7941f53a.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sun, 01 Dec 2024 18:17:51 +0100 (CET)
Injection-Info: dont-email.me; posting-host="8cc4bd2836fa7a3e69341ba755a35242";
	logging-data="2708012"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18B2wniWN+zJL+NDhl0DqHa"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:P/8CuseIU6xlfNfWC/5IUTtWPWg=
Bytes: 2651

There are several understandings:
https://www.quora.com/As-an-experienced-OOP-programmer-in-your-opinion-what=
s-the-biggest-problem-of-OOP-object-oriented-programming

....
OO can have many meaning. I took OO to mean object, the basic entity of the
programming model and the operation of the object. The concept, as foundmen=
tal,
has to be solid, practical and easily usable. Otherwise, more codes and eff=
orts
will be needed latter to fix it, making the original goal ,practically, a l=
ie.
IOW, (nearly) a flawless model is all the basics. ...
https://sourceforge.net/projects/cscall/files/MisFiles/ClassGuidelines.txt/=
download

From my view, programming language has to provide a model, so that programm=
ers=20
know what they are dealing with, to solve the problem (recent C++ seems sol=
ving
just syntax problems).
In (my) OOP, 'portability' (or reusable) is first achieved by making the=
=20
probramming object compatible (form platform to platfrom or from time to ti=
me
in the same platform, but libwy only considers linux, but the idea should b=
e
generally applicable), i.e. like pod types, structures, union may not be po=
rtable.

Programming object or 'concept' are 'better' represented/wrapped by class (=
keyword)
All should be simple, I don't know how to make the idea of 'object' more si=
mpler.
See the guidelines.

OTOH, in C/C++, every memory objects/function has address, the language can=
not
pretend it is not actually dealing with a large array of raw 'bytes' and it=
s
restrictions (and restrict by Turing Machine). I think that is generally wh=
ere=C2=A0
many programming problems from. And, understanding C or assembly is nearly =
a must
before understanding C++, otherwise, no real meaning, simply put.