Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: fir Newsgroups: comp.lang.c Subject: Re: on named blocks concept Date: Thu, 07 Nov 2024 18:47:42 +0100 Organization: i2pn2 (i2pn.org) Message-ID: <672CFD3E.9060904@grunge.pl> References: <4b9a47d628677882c26b2518a78571043ef1bdb9@i2pn2.org> <672BC788.6030100@grunge.pl> <672CE2D9.1070206@grunge.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: i2pn2.org; logging-data="1402392"; mail-complaints-to="usenet@i2pn2.org"; posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0"; User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 To: Bonita Montero X-Spam-Checker-Version: SpamAssassin 4.0.0 In-Reply-To: Bytes: 2307 Lines: 29 Bonita Montero wrote: > Am 07.11.2024 um 18:01 schrieb fir: > >> the subtypes are things that 1{sing(); } 2 { swim(); 3 { fly();} 4 >> {sing(); swim(); } 5 { swim(), fly()} ; 6 { sing(); fly();} > > With that you could use three interfaces (classes with only pure > virtual functions) and derive them as needed. That's still OOP. OOP > is useful and a standard. i dont remember i learned a c++ a bit in about year 2001 or so (i dont even remember) and then droipped the learning noticing how crap it is i remember tose inheritance herarhies buit being deeply idiotic and based on misunderstanding of fundamental things same with those builtin c++ spaghetti with new objest and pointers... this c++ OOP is indeed just a monster sphagetti all those pointers ale nonsense.. the entities with functions are okay but visibility by pointers is deeply idiotic if yu get some entity you need to use simply add them like Sccreen screen1, screen2; Ship ship[100]; then just call its methods and more... no idiotic sphagetti