Sujet : Re: Hex string literals (was Re: C23 thoughts and opinions)
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 21. Jun 2024, 15:15:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v541un$36rmj$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
User-Agent : Mozilla Thunderbird
On 6/21/24 03:13, Lawrence D'Oliveiro wrote:
On Wed, 19 Jun 2024 10:49:24 +0200, David Brown wrote:
...
Sometimes it makes sense for C to do the same thing in a different way
from C++ - but it is rare, and needs very strong justification.
The fact that it is something of a de-facto standard among other popular
languages would count.
Is C doomed to remain forever a strict subset of C++?
C is not now, nor has it ever been, a strict subset of C++, so it seems
unlikely that it is doomed to become one. C++ was initially intended to
be an extension to C, and a desire to maintain backwards compatibility
with C played a role in many of the design decisions for C++. Nowadays,
the C committee and C++ committee have agreed to a policy of avoiding
incompatibilities with each other. That doesn't mean that there should
be no incompatibilities, only that they need to be strongly motivated.