4 ms·
You don’t need “the API” in another file. Headers are such an idiotic design, over-abstraction harms locality of reasoning.
by newZWhoDis 3y ago
You don’t need “the API” in another file.
Headers are such an idiotic design, over-abstraction harms locality of reasoning.
- MBCook 3y agoThey made a TON of sense when memory was very limited. Why parse out a whole C file when you can get the only bits that matter for compiling your file from a 30 line header?
- pjmlp 3y agoExcept languages with modules already existed, in systems even more constrained memory predating C's invention.