A short tour of /proc
Anya P. · Sep 27
I split a 4000-line file into 12 smaller ones this week. The smaller files weren't actually easier to understand. The 4000-line file was a problem of structure, not of length.
If a config file has more than a dozen options, half of them aren't being used. The other half are being used in ways the original author didn't predict.
The fastest debugging trick I've learned is to write out, in one sentence, what the system is supposed to be doing. Half the time I notice the bug while writing the sentence.
← back to index