Re: Using C23 digit separators not locale digit grouping characters

Alejandro Colomar
2023-02-08T21:06:37Z

[-- Attachment #1.1: Type: text/plain, Size: 1085 bytes --]

Hi Jakub!

On 2/8/23 22:00, Jakub Wilk wrote:
> * Tom Schwindl <schwindl@posteo.de>, 2023-02-03 13:27:
>> I wonder if I'm the only one who thinks that the digit separators look
>> irritating for both, hex and octal.
>
> Not only you.
>
> I think C23's choice of separator is particularly bad. I found underscores
> (used in Perl, Ruby, Python 3, Java, Rust, and likely many others) more
> palatable.

IIRC, that was suggested at some point for C23, but don't remember; maybe it's a glitch in my memory (I think it was suggested for separating binary (0b) input). I can't understand how they chose ', especially when in some countries it's used as the decimal point (I don't know if that's official, but I've seen it in hand-written text quite often here in Spain). I agree that it's probably one of the worst separators they could have chosen.

Do you think we should use an underscore in the manual pages? Or what would you do?

Thanks,

Alex

>

--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5