Re: [Windows] Associate file extensions with a program
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 12, 2004
- 474 views
Pete Lomax wrote: > On Tue, 12 Oct 2004 20:32:38 +0200, Juergen Luethje <j.lue at gmx.de> > wrote: > >> I can see that implementation #1 is not a good idea, but what about >> implementation #2? > > If there is an error in proc1, such as FileDoesNotExist, then it would > not help matters to replace this with ErrorWritingToFile in proc2. > > In fact, wouldn't most error conditions tend to daisy-chain? Probably yes. But it's up to the author of the main program (maybe myself) anyway, to check early and often for errors, regardless wether errors are returned as results of functions, or in a local/global variable. Regards, Juergen