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.
That said, typedefs/macros may be essential for portability concerns.