Deutsch English Français Italiano |
<vc09nv$ljiq$4@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: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Other programming languages (Was: Command line globber/tokenizer library for C?) Date: Fri, 13 Sep 2024 02:58:07 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: <vc09nv$ljiq$4@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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 13 Sep 2024 04:58:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fe8eaca0c36637cab02c0b5baab677cf"; logging-data="708186"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+faBqq+9gNcYpVnj6aiaid" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:+8iqZrJ7zjfEsy6grDOkMyzC7EU= Bytes: 1884 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.