[Info-vax] VMS process communication
Johnny Billquist
bqt at softjar.se
Tue Mar 14 09:24:06 EDT 2023
On 2023-03-13 15:01, Simon Clubley wrote:
> On 2023-03-13, Arne Vajhøj <arne at vajhoej.dk> wrote:
>> On 3/13/2023 9:32 AM, Simon Clubley wrote:
>>>
>>> Even better is to use uintXX_t unless you really want a signed integer. :-)
>>>
>>> A big mistake languages made (IMHO) was to make their integers signed
>>> by default, instead of you needing to ask for a signed integer if you
>>> really needed one.
>>
>> That is not really C specific.
>>
>
> Notice I didn't say C, but "languages". :-)
>
> I consider it a general design flaw in languages, probably based on the
> need to mirror underlying early architecture and then it just became
> established as the default.
I don't think there is anything in the underlying architecture that
leads one way or another on this topic (no matter which architecture).
I think it's much more likely that the chose to have them signed as most
people when they work with integers expect them to be able to represent
both positive and negative numbers.
Johnny
More information about the Info-vax
mailing list