Sujet : Re: What programs do you make sure are installed on a new Linux
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.miscDate : 17. Nov 2024, 19:07:38
Autres entêtes
Message-ID : <lpupnaFebe4U1@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Sun, 17 Nov 2024 17:17:37 GMT, Charlie Gibbs wrote:
Horses for courses. Never underestimate the value of a few printf()s
sprinkled here and there (or log file writes if you're really headless).
I'm still a fan of makefiles.
I'm a dinosaur so my preferred technique is either printf or log files.
For production code I've sometimes created a sequence of log statements
that can be turned on with a flag that are a narrative of what's going on.
My goal is a support person can read the file and see where the problem
occurs. Often it is a configuration issue they can fix.
The nice part is the technique can be used with any language and is
effective where a debugger isn't available.