Deutsch English Français Italiano |
<vc1bab$s49b$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.lang.c Subject: Re: Other programming languages (Was: Command line globber/tokenizer library for C?) Date: Fri, 13 Sep 2024 14:31:06 +0200 Organization: A noiseless patient Spider Lines: 26 Message-ID: <vc1bab$s49b$1@dont-email.me> References: <lkbjchFebk9U1@mid.individual.net> <vbumi6$8ipp$1@dont-email.me> <vbupqe$1t2d8$1@news.xmission.com> <vbus74$9k96$3@raubtier-asyl.eternal-september.org> <vbusji$1t31q$2@news.xmission.com> <vbut08$9rul$1@raubtier-asyl.eternal-september.org> <vbv212$altk$1@dont-email.me> <vbvq59$esm6$10@dont-email.me> <vc06o4$l86t$1@dont-email.me> <vc09nv$ljiq$4@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 13 Sep 2024 14:31:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="40b8fda9dd736a45b809dc41294731f5"; logging-data="921899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/X0CqWs5oAu/nKIVQhj5Ob" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:fOD8NtGICO48dVXTme/UGHLM1sM= In-Reply-To: <vc09nv$ljiq$4@dont-email.me> Bytes: 2362 On 13.09.2024 04:58, Lawrence D'Oliveiro wrote: > On Fri, 13 Sep 2024 04:06:58 +0200, Janis Papanagnou wrote: > >> On 13.09.2024 00:32, Lawrence D'Oliveiro wrote: >> >>> On Thu, 12 Sep 2024 17:40:17 +0200, Janis Papanagnou wrote: >>> >>>> A lot of early C++ programs I've seen were just, umm, "enhanced" "C" >>>> programs. >>> >>> Given that C++ makes “virtual” optional instead of standard behaviour, >>> I’d say that C++ is in fact designed to be used that way. >> >> There's different semantics with and without a 'virtual' specification. > > Precisely. And consider what the meaning of a non-virtual destructor is: > it is essentially always the wrong thing to do. I've used both design patterns depending on what I intended, so I cannot say that one would be "wrong" in any way. (Upthread I seem to have rightly sensed that this might lead to a "right/wrong" ("real" OO) sort of discussion. I abstain.) Janis