home bbs files messages ]

Just a sample of the Echomail archive

COMPLANC:

<< oldest | < older | list | newer > | newest >> ]

 Message 242,388 of 243,114 
 Kaz Kylheku to Paul J. Lucas 
 Re: New and improved version of cdecl 
 09 Dec 25 20:38:58 
 
XPost: comp.lang.c++
From: 046-301-5902@kylheku.com

On 2025-12-09, Paul J. Lucas  wrote:
> On 10/26/25 3:36 PM, Keith Thompson wrote:
>> (I'm not entirely pleased that the newer version expands "char" to
>> "character" and, worse, "int" to "integer", but I can live with it.)
>
> Hence the --no-english-types or -T command line option or the
> "set noenglish" command (from within cdecl or a config file).

The problem is that the English words chosen already have a meaning.

"Integer" is a type category in C; uint32_t is one of the "integer
types".

"Character" is a representational concept for units of text,
manifesting itself via different types and sometimes even aggregates
(e.g multi-byte character).

> The thought was that those newer to C and less familiar with its
> types might benefit from more elaborate output.

This kind of thing just ensures that newbies go sideways from being
less familiar to being incorrectly familiar.

They should know from their first contact with the char type that it's
just an integer type with a small range. (Arrays of which are used for
text storage in classic text processing, where if a legacy character
set is used such as ASCII, there is a 1:1 correspondence between each
char element and a character, otherwise not.)

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

--- SoupGate-Win32 v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca