News for hackers. Stuff that matters.
Re:My personal C coding style as of late 2023 by superchroma on Sunday October 08, 2023 @09:02PM (#37815840)
Well, from a team perspective, it's extremely opinionated and hostile to newcomers and messes with core language features at the expense of readability. If it's your personal codebase then do whatever, obviously.
Re:My personal C coding style as of late 2023 by aportnoy on Sunday October 08, 2023 @09:04PM (#37815845)
> extremely opinionated

I have not seen a single codebase that widely uses uint8_t and does not typedef it to u8. It is the exact opposite of "extremely opinionated".

Re:My personal C coding style as of late 2023 by loeg on Sunday October 08, 2023 @09:07PM (#37815869)
It doesn't mess with a core language feature to alias 'u8' to 'uint8_t'. It's a reasonable use for the name and one used in other languages (e.g., Rust). There's nothing in the C standard that defines or uses the 'u8' name.
Re:My personal C coding style as of late 2023 by Dylan16807 on Sunday October 08, 2023 @11:37PM (#37816684)
Opinionated? Was there something else you wanted u8 to mean?