Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown Newsgroups: comp.lang.c Subject: Re: Hex string literals (was Re: C23 thoughts and opinions) Date: Wed, 19 Jun 2024 10:49:24 +0200 Organization: A noiseless patient Spider Lines: 11 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; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 19 Jun 2024 10:49:24 +0200 (CEST) Injection-Info: dont-email.me; posting-host="496e798c2f4d7717891a7779c6d418c6"; logging-data="1991740"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kx3jjDq32J1BgXeXqLnzHkj1it0enu74=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:mQnUmLpdSkeV8PjHiB3w1bxObuk= Content-Language: en-GB In-Reply-To: Bytes: 2393 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.