Create empty files?



An application uses files with IDs.

What of the following two variants is preferred?

1. To create empty IDs files at setup script.

2. If an IDs file is missing, treat it as if it would exist but empty.

Why?
.



Relevant Pages

  • Re: Create empty files?
    ... To create empty IDs files at setup script. ... thing should not matter ... and file extension, ...
    (comp.programming)
  • Re: Create empty files?
    ... What of the following two variants is preferred? ... To create empty IDs files at setup script. ...
    (comp.programming)
  • Re: Create empty files?
    ... To create empty IDs files at setup script. ... If an IDs file is missing, treat it as if it would exist but empty.. ...
    (comp.programming)
  • Re: Create empty files?
    ... To create empty IDs files at setup script. ... If an IDs file is missing, treat it as if it would exist but empty. ... file system operations are expensive because they ...
    (comp.programming)