| Liste des Groupes | Revenir à cl c |
On 20/03/2025 18:46, Michael S wrote:On Thu, 20 Mar 2025 15:40:20 +0000>
bart <bc@freeuk.com> wrote:
>
Pretty much every other open source project I look likes to define
their own types!
>
So I have to ask, why do think they do that?
>
Most likely mindless parroting of 40 y.o. examples.
I don't think so. Where such sets of types exist, they tend to be
defined on top of long long too, or even on top of stdint.h types.
>
Look at this one for example:
>
typedef uint8_t byte; // from arduino.h
>
I can only one of reason this exists, which is that 'byte' is a far
nicer denotation.
You might also consider why such examples existed even 40 years ago.
Les messages affichés proviennent d'usenet.