Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Beginner....Decimal/Octal converter help Date: Sun, 11 Sep 2022 06:46:43 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: <868rmqqb0c.fsf@linuxsc.com> References: <8ffd982c-2e82-4caa-9256-ec17be2efe56n@googlegroups.com> <86leqsr091.fsf@linuxsc.com> <875yhv30nu.fsf@bsb.me.uk> <87zgf714zc.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader01.eternal-september.org; posting-host="eacead3a04a98f103c487ee10dc191dc"; logging-data="2034517"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OfiUsA+WZoRY5pI3MAvXN+pgtvS/KgXQ=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:fq2biqTASURAasVFLmsiqwSMVrw= sha1:rwCDZEEr5Ue/GuB+9IwX2CdlaBw= Xref: csiph.com comp.lang.c:167601 Ben Bacarisse writes: > David Brown writes: [suggestion to use uint8_t and uint32_t in place of (my earlier use of) unsigned char and unsigned int] >> There are some real-world C implementations that do not have uint8_t >> and/or uint32_t, but the overlap in code between these niche systems >> and "normal" systems is almost non-existent. So the use of >> "uint_least8_t", "uint_fast32_t" and similar types is IMHO needless >> complication and verbosity, and certainly not something beginners >> should need to bother about. > > Really? That's a complication? > > Being a beginners is another matter. We don't know what sort of > beginner this is (I think it was a drive-by anyway), but none of the > types is ideal for a beginner. In fact, I imagine that's partly what > motivated TR's choice. Quite so.