I have read that it is best to aim keep functions to no more than approx a screen full of lines.
Is there a similar guideline for module (file) sizes?
I have read several C programming style guidelines but cannot find reference to recommended module sizes (only that of functions)
I apologise if this is akin to asking how long a piece of string is – but I would be very interested in seeing if there is some agreement among experts on this?
I would recommend using a separate
.hand.cfile for eachstructand associated functions, and if possible not have more than a 1000 lines per file.