[riot-devel] Coding conventions amendment
kaspar at schleiser.de
Wed Oct 12 17:06:03 CEST 2016
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.
More information about the devel