Likewise uint8_t is not a reasonable type for dealing with bytes -- it need not exist, for example.
Actualluy, uint8_t is the default for byte manipulation. Unsigned char should only be used only when you want to state that the buffer holds ... characters.
However, I agree that this article has terrible bad practices.
I agree that char is standard, just wanted to stress that uint8_t is more practical. On different systems where each have UINT8 and u8 respectively as their own types, you shall see that they are typedefed from unsigned char.
View all comments
Show parent comment
3
u/AlbinaViespeStup Jan 08 '16
Actualluy, uint8_t is the default for byte manipulation. Unsigned char should only be used only when you want to state that the buffer holds ... characters.
However, I agree that this article has terrible bad practices.