Join Nostr
2025-03-23 19:37:34 UTC

Jack William Bell on Nostr: One of the 'unwritten standards' of #C and C++ is the 'include' directory, where you ...

One of the 'unwritten standards' of #C and C++ is the 'include' directory, where you keep all your header files separate from the 'src' directory.

I followed this 'standard' for decades, before abandoning it in favor of keeping header and source files in the same directories; at least for my own projects.

I honestly do not see how it makes *anything* about managing your code easier or better. Especially when you need to maintain parallel subdir structures in two places.

[contd]

#programming