Re: [Windows] Associate file extensions with a program

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu