Hi,

On 10/12/2016 04:44 PM, René Kijewski wrote:
`size_t` is optimal for every architecture that does not use segmented memory.

... when iterating over array indices. Otherwise the width of it is as uncertain (in respect to the underlying platform) as "unsigned int".

IMHO there's no need for a convention "use size_t as iterator in for loops", on the contrary, it might confuse newbies (and thus lead to bugs).

Not using uint8_t is another matter.

Kaspar
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to