Deutsch English Français Italiano |
<viij68$2pdkl$3@dont-email.me> 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: Lynn McGuire <lynnmcguire5@gmail.com> Newsgroups: comp.lang.c++ Subject: Re: What is OOP? Date: Sun, 1 Dec 2024 15:07:19 -0600 Organization: A noiseless patient Spider Lines: 37 Message-ID: <viij68$2pdkl$3@dont-email.me> References: <d8a5a0d563f0b9b78b34711d12d4975a7941f53a.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 01 Dec 2024 22:07:21 +0100 (CET) Injection-Info: dont-email.me; posting-host="78095358bdc14f1f791b13b293a70972"; logging-data="2930325"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/p3DkK+11ueo9PDgHoSrCCWF5O+lSsr4g=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gKqrgBHEDUnwuS4gDSAwtDdQbYs= Content-Language: en-US In-Reply-To: <d8a5a0d563f0b9b78b34711d12d4975a7941f53a.camel@gmail.com> Bytes: 3028 On 12/1/2024 11:17 AM, wij wrote: > There are several understandings: > https://www.quora.com/As-an-experienced-OOP-programmer-in-your-opinion-whats-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 foundmental, > has to be solid, practical and easily usable. Otherwise, more codes and efforts > will be needed latter to fix it, making the original goal ,practically, a lie. > 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 programmers > know what they are dealing with, to solve the problem (recent C++ seems solving > just syntax problems). > In (my) OOP, 'portability' (or reusable) is first achieved by making the > probramming object compatible (form platform to platfrom or from time to time > in the same platform, but libwy only considers linux, but the idea should be > generally applicable), i.e. like pod types, structures, union may not be portable. > > 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 simpler. > See the guidelines. > > OTOH, in C/C++, every memory objects/function has address, the language cannot > pretend it is not actually dealing with a large array of raw 'bytes' and its > restrictions (and restrict by Turing Machine). I think that is generally where > many programming problems from. And, understanding C or assembly is nearly a must > before understanding C++, otherwise, no real meaning, simply put. "Object-Oriented Analysis and Design with Applications 3rd Edition" by Grady Booch, etc https://www.amazon.com/Object-Oriented-Analysis-Design-Applications-3rd/dp/020189551X/ Lynn