• 1 Post
  • 33 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
rss







  • The reason is that header files are pretty much copy/pasted into your c files when you include them. so the code in them keeps getting recompiled for every c file, which drastically increases overall build times. If you only declare in the header and have one c file implementing the functions you compile them only once.