Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: Hex string literals (was Re: C23 thoughts and opinions) Date: Fri, 21 Jun 2024 07:13:00 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com> <87msoh5uh6.fsf@nosuchdomain.example.com> <87y18047jk.fsf@nosuchdomain.example.com> <87msoe1xxo.fsf@nosuchdomain.example.com> <87ikz11osy.fsf@nosuchdomain.example.com> <87plt8yxgn.fsf@nosuchdomain.example.com> <87cyp6zsen.fsf@nosuchdomain.example.com> <874jahznzt.fsf@nosuchdomain.example.com> <87v82b43h6.fsf@nosuchdomain.example.com> <87iky830v7.fsf_-_@nosuchdomain.example.com> <87cyof14rd.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 21 Jun 2024 09:13:01 +0200 (CEST) Injection-Info: dont-email.me; posting-host="66b3929645a80745d97b68595a297468"; logging-data="3219475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oMVhbL2LI8N3YDY1oS5A9" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:AiO7TjVqC5UsBteCT1bubVKAdjY= Bytes: 2504 On Wed, 19 Jun 2024 10:49:24 +0200, David Brown wrote: > On 19/06/2024 09:25, Lawrence D'Oliveiro wrote: > >> On Tue, 18 Jun 2024 15:54:15 +0200, David Brown wrote: >> >>> ... C++ could not use underscores due to their use in user-defined >>> literals, and C followed C++. >> >> C can still offer the option for them, though. > > 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++?