3 ms·
Well if there are already two remarks on that matter - I'll fix the issue! I know the profits, yeah. Things haven't exactly worked out the way I thought they wo
by zakirullin 7y ago
Well if there are already two remarks on that matter - I'll fix the issue! I know the profits, yeah. Things haven't exactly worked out the way I thought they would - there should be a border between simplicity/bad design.
Hahah, yeah it smells, can't argue with that. I believe that everyone had a trauma like that in the past :)
- sjamaan 7y agoMaybe it would make more sense if you used only .c files; people typically expect only prototypes, type definitions, macros and so on in .h files. Including one .c file in another is a bit odd, but less surprising. But then having include guards makes the entire thing a bit weird :)
- zakirullin 7y agoHaha. Yup, I know that, of course. And I have never used that practice in real world projects. Well, I'll put both .c/.h files, that doesn't add that much overhead.