Deutsch   English   Français   Italiano  
<vd83pq$14kml$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: relearning C: why does an in-place change to a char* segfault?
Date: Sat, 28 Sep 2024 07:22:01 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vd83pq$14kml$1@dont-email.me>
References: <IoGcndcJ1Zm83zb7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
 <v8fhhl$232oi$1@dont-email.me> <v8fn2u$243nb$1@dont-email.me>
 <87jzh0gdru.fsf@nosuchdomain.example.com> <v8gte2$2ceis$2@dont-email.me>
 <20240801174256.890@kylheku.com> <v8i9o8$2oof8$1@dont-email.me>
 <v8j808$2us0r$1@dont-email.me> <864j7oszhu.fsf@linuxsc.com>
 <87o75vg9ot.fsf@nosuchdomain.example.com> <86ikw1o0h8.fsf@linuxsc.com>
 <8734n5fjtq.fsf@nosuchdomain.example.com> <868qvc62h7.fsf@linuxsc.com>
 <87a5fssb70.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 28 Sep 2024 07:22:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7cd80ee5379c0a27173bfcdd9e5060bd";
	logging-data="1200853"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/rz9ZsMHauR10HeZYD0rCu"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:+Izh+GxlOIsXKe6wK9IfPGYRloo=
In-Reply-To: <87a5fssb70.fsf@nosuchdomain.example.com>
X-Enigmail-Draft-Status: N1110
Bytes: 2904

On 28.09.2024 05:34, Keith Thompson wrote:
> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>> The more C is changed to resemble C++ the worse it becomes.  It
>>>> isn't surprising that you like it.
> 
> For context, since the parent article is from a month and a half
> ago, I was discussing a proposal to change a future C standard to
> refer to "constants" as "literals".  I mentioned that I think it's
> a good idea.

I've heard of and seen various forms to name such entities...
- in a Pascal and an Eiffel book I find all these named "constants"
- in an Algol 68 book I read about "standard designations"
- in a book about languages and programming in general I find
    "literals" ("abc"), "numerals" (42), "word-symbols" (false),
    "graphemes" (�), etc., differentiated
- I've also have heard about "standard representations [for the
    values of a respective type]"; also a type-independent term

I also think (for various reasons) that "constants" is not a good
term. (Personally I like terms like the Algol 68 term, that seems
to "operate" on another [more conceptual] abstraction level.)

But you'll certainly have to expect a lot of anger if the terminology
of some standards documents get changed from one version to another.

Janis