Deutsch   English   Français   Italiano  
<v4r1s7$166bb$1@dont-email.me>

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: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: Hex string literals (was Re: C23 thoughts and opinions)
Date: Tue, 18 Jun 2024 04:19:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <v4r1s7$166bb$1@dont-email.me>
References: <v2l828$18v7f$1@dont-email.me>
	<00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com>
	<v2lji1$1bbcp$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 Jun 2024 06:19:19 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="aa8085ada8e9493580a5b327f88f4c87";
	logging-data="1251691"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19/OipEoXnsaB9tBjRmKEy7"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:iGV7Roqu/vzhp8h+6UtH0Rwq90c=
Bytes: 2361

On Mon, 17 Jun 2024 11:42:22 +0200, David Brown wrote:

> Most situations where octal could be useful died out many decades ago -
> it is vastly more likely that "012" is intended to mean 12 than 10.  No
> serious programming language supports a leading 0 as an indication of
> octal unless they are forced to do so by backwards compatibility, and
> many that used to support them have dropped them.

For one example, Python didn’t drop octal numbers in the 2→3 transition, 
but it changed the syntax from a simple “0” prefix to having a “0o” prefix 
(analogous to “0x” for hex literals) instead.