Re:My personal C coding style as of late 2023
by vitiral on Monday October 09, 2023 @07:10PM
(#37826618)
We almost always talk in bytes. When trying to reason about alignment it's bytes, when reading a serial IO from a file it's bytes. I hardly ever think in bits and when I do, I think in hex not decimal.
I also like that it makes all the type names the same width (notably U1/U2 vs u8/u16).
I also like that it makes all the type names the same width (notably U1/U2 vs u8/u16).