CompuServe Messages

Desirable Source Length

    19-Feb-90 08:32:41
Fm: Syndesis 76004,1763
To: David Hamkins 76515,1650
Yes, you could easily end up with 20+ modules. How would you find anything? Good filenames help, plus programmer's tools like ctags and the rather good cross-reference database program in the PD for the Amiga, which revolves around 'mkid' and 'lid'. Seems to me that complaining about slowness because a file is long is misplaced criticism… what program doesn't take longer to process, when given more data? The usual answer is, get an 030, or shorter the file. 🙂 I'm sure SDB could be optimized to help you, but I have no sympathy. I think there's only one reason people use big modules, and that's to rely on lazy global variables. Why waste time recompiling all the other functions within the file, if you're only changing one thing at a time? Slowness in SDB is bad, but wasted time in compiles is OK? (And in case you wondered, I get evangelical about C indentation style, too. 🙂