3 ms·
> I'm continually surprised by how often people insist on putting struct definitions right in their header files, defeating the whole idea of type abstraction.
by megous 9y ago
> I'm continually surprised by how often people insist on putting struct definitions right in their header files, defeating the whole idea of type abstraction.
It also defeats the idea of easy struct embedding as is done for example in the Linux kernel. Different codebases, different needs.