Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c++
Subject: Re: To C or not to C++
Date: Mon, 15 Aug 2022 14:44:29 -0700
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <86bksluqpu.fsf@linuxsc.com>
References: <2868500762@darkrealms.ca> <19c3945f-f9ef-44a1-a0f1-b80c39485fe3n@googlegroups.com> <87h72he0nb.fsf@nosuchdomain.example.com> <9f308371-ba3c-45f5-8aa7-115fcba460fbn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader01.eternal-september.org; posting-host="9f5fdd80571645ef69adbce5a0ea0f3b"; logging-data="4009956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ySilzpFfrBZeVo6gf2v+EZ0Mv3wLixlI="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:BA3qgz9NZQ47IsbFXEMg/NSof98= sha1:9HzdQHDSLc9x0xgPogmtmVX19vE=
Xref: csiph.com comp.lang.c++:85951
Manfred writes:
> [...] if you are programming in the common subset of C
> and C++, then you are effectively programming in C, aren't you?
In my experience programming in the common subset of C and C++ is
much more like programming in an annoyingly braindamaged subset of C
than it is like programming in C.
> I mean, practically: with respect to C, you are excluding at most 5%
> of the language; [...]
Unfortunately excluding 5% of the language ends up excluding 95+% of
the programs (and probably more for programs of any reasonable size).
I think no C programmer naturally writes C programs that fall into
the common subset of C and C++, except by accident, and that happens
only rarely, and in small programs.