News for hackers. Stuff that matters.
Re:Modern C for C++ Peeps (2019) by jimbob45 on Wednesday May 26, 2021 @12:38PM (#27292712)
Agreed. If you typedef your struct, I can’t know if you wrapped it in a weird macro or if your data type is actually a renamed primitive. Once I gain familiarity with your codebase, it won’t matter, but it otherwise unnecessarily raises the barrier of entry.

That said, typedefs/macros may be essential for portability concerns.

Re:Modern C for C++ Peeps (2019) by Gibbon1 on Wednesday May 26, 2021 @02:40PM (#27294419)
> can’t know if you wrapped it in a weird macro

The solution to that problem is don't do that.