Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: To C or not to C++ Date: Fri, 12 Aug 2022 12:12:56 -0700 Organization: None to speak of Lines: 22 Message-ID: <87h72he0nb.fsf@nosuchdomain.example.com> References: <2868500762@darkrealms.ca> <19c3945f-f9ef-44a1-a0f1-b80c39485fe3n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader01.eternal-september.org; posting-host="05d9063ffd9b5feaccaae838e92706c7"; logging-data="2715119"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MD4WTFJedzj2QqQBYpZ2W" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:4SX+X9WaKw1lid4Ag+7BSeVXvV4= sha1:QQC8z9Xx9LDhjkLraY6amDb5a+g= Xref: csiph.com comp.lang.c++:85897 Öö Tiib writes: [...] > There can be rather obvious reasons for such single product team to > choose writing some program for some process of said product in > common subset of for example C11 and C++11. So as result that > program is indeed both C11 program and C++11 program. What is > here even to argue? > > The code is unlikely to follow widespread idioms of programming in > either programming language. But saying that whatever was therefore > "done wrong" without being committed nor having clue what the product > does is silly™. How can one even dream to be capable to judge > adequately? I don't doubt that there can be valid reasons for writing code in the common subset of C11 and C++11, but those reasons are not obvious. Can you elaborate? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */