Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <87zfrizu56.fsf@nosuchdomain.example.com>
Deutsch   English   Français   Italiano  
<87zfrizu56.fsf@nosuchdomain.example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Hex string literals (was Re: C23 thoughts and opinions)
Date: Mon, 17 Jun 2024 22:39:49 -0700
Organization: None to speak of
Lines: 21
Message-ID: <87zfrizu56.fsf@nosuchdomain.example.com>
References: <v2l828$18v7f$1@dont-email.me>
	<87msoh5uh6.fsf@nosuchdomain.example.com>
	<f08d2c9f-5c2e-495d-b0bd-3f71bd301432@gmail.com>
	<v2nbp4$1o9h6$1@dont-email.me> <v2ng4n$1p3o2$1@dont-email.me>
	<87y18047jk.fsf@nosuchdomain.example.com>
	<87msoe1xxo.fsf@nosuchdomain.example.com>
	<v2sh19$2rle2$2@dont-email.me>
	<87ikz11osy.fsf@nosuchdomain.example.com>
	<v2v59g$3cr0f$1@dont-email.me>
	<87plt8yxgn.fsf@nosuchdomain.example.com> <v31rj5$o20$1@dont-email.me>
	<87cyp6zsen.fsf@nosuchdomain.example.com>
	<v34gi3$j385$1@dont-email.me>
	<874jahznzt.fsf@nosuchdomain.example.com>
	<v36nf9$12bei$1@dont-email.me>
	<87v82b43h6.fsf@nosuchdomain.example.com>
	<87iky830v7.fsf_-_@nosuchdomain.example.com>
	<v4p0dv$jeb2$1@dont-email.me>
	<87cyof14rd.fsf@nosuchdomain.example.com>
	<v4r1tf$166bb$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Tue, 18 Jun 2024 07:39:53 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="aed299878570cb32e21d076f9aa05b90";
	logging-data="1280098"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+comagUtZsM71N86ssR7W9"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:VKBEgniEEs+N4uTnRsANqPk9aH0=
	sha1:tB5ktS043Um42GmgCy3IYrHBBro=
Bytes: 2621

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Mon, 17 Jun 2024 17:19:50 -0700, Keith Thompson wrote:
>> C23 adds the option to use apostrophes as separators in numeric
>> constants: 123'456'789 or 0xdead'beef, for example.  (This is borrowed
>> from C++.
>
> Why not underscores, as supported in both Ada and Python?

And Perl, and probably other languages.

That would have been my preference, but C++ (starting in C++17)
and C (starting in C23) have already specified apostrophes.  C++
uses underscores as part of the syntax for user-defined literals,
also introduced in C++17.

The apostrophe is the standard thousands separator in Switzerland.
I don't know how much that influenced the decision in C++.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */