Deutsch   English   Français   Italiano  
<vs0g7t$1avlb$5@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!eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: Integral types and own type definitions (was Re: Suggested method
 for returning a string from a C program?)
Date: Wed, 26 Mar 2025 10:09:17 +0100
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <vs0g7t$1avlb$5@dont-email.me>
References: <vrd77d$3nvtf$2@dont-email.me> <868qp1ra5f.fsf@linuxsc.com>
 <vrdhok$47cb$2@dont-email.me> <20250319115550.0000676f@yahoo.com>
 <vreuj1$1asii$4@dont-email.me> <vreve4$19klp$2@dont-email.me>
 <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com>
 <vrh1br$35029$2@dont-email.me> <LRUCP.2$541.0@fx47.iad>
 <vrh71t$3be42$1@dont-email.me> <KFVCP.594649$SZca.498578@fx13.iad>
 <vrhb77$3frk8$1@dont-email.me> <vrru8f$174q6$1@dont-email.me>
 <86o6xpk8sn.fsf@linuxsc.com> <vrtmu4$2s1q2$1@dont-email.me>
 <86frj1jpem.fsf@linuxsc.com> <vrv8id$7gto$1@dont-email.me>
 <20250325151657.563@kylheku.com> <vrvdde$bq11$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 26 Mar 2025 10:09:17 +0100 (CET)
Injection-Info: dont-email.me; posting-host="9e00a15ae379d2cae7edd65ac25a9709";
	logging-data="1408683"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18ZTFC6fqpERFCBbcp/E7t683KnII6V358="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:3dQclxpbdsI0aqmWtJVAnlkV5mA=
Content-Language: en-GB
In-Reply-To: <vrvdde$bq11$2@dont-email.me>
Bytes: 3373

On 26/03/2025 00:14, Richard Heathfield wrote:
> On 25/03/2025 22:36, Kaz Kylheku wrote:
>> On 2025-03-25, Richard Heathfield <rjh@cpax.org.uk> wrote:
>>> On 25/03/2025 11:55, Tim Rentsch wrote:
> 
> <snip>
> 
>>>> The problem is that what was written used the word "integral"
>>>> incorrectly.
>>>
>>> But "integer type" is also a problem. 'Integer' is a noun, not an
>>> adjective. To modify the noun 'type' you need an adjective that
>>> means 'of, pertaining to, or being an integer'. The only
>>> available candidate is 'integral'.
>>
>> How can you post that from of the proximity of the birth place
>> of the English language?
>>
>> The English language features noun phrases (NPs), and in that
>> category are found compound nouns.  Compound nouns have a head. The head
>> is always the rightmost element of the sequence. The other nouns modify
>> the head as if they were adjectives.
> 

Just as all nouns can be verbed, they can also all be adjectived :-)


> But 'integral' modifies 'type' because it /is/ an adjective. Hard to see 
> how a charge of 'incorrect' can be justified.
> 

Kaz' point is not that "integral type" is grammatically incorrect, but 
that "integer type" /is/ grammatically correct.  Either could be used.

Tim's argument that "integral type" is wrong is, I would say - based on 
/my/ everyday English and /my/ mathematical education - invalid.  Either 
"integer type" or "integral type" could be used, but "integer type" is 
the more common usage in most programming languages, and is therefore 
arguably a better choice for the C standards.