-2

I have an external process in my program. To interact with it i have a configuration file i can edit. The external process then reads this file periodically and updates its state accordingly.

Now what is a good name for this file, as represented in code?

ExternalProcessApplicationConfigurationFile feels 'static' since using configuration as a word 'sounds static' as in the configuration is not mutable. Although i feel something like 'ExternalProcessApplicationSettingsFile' sounds even more static.

How would you normally call something like this situation, where an external module in your code has a configuration that is mutable.

3
  • 1
    Config, and add to its documentation that it's mutable and that the program will check every N minutes for changes. A name doesn't need to convey everything about its functionality and intended usage. Commented Mar 10, 2020 at 11:31
  • 2
    Alternatively, call it a parameters file. Commented Mar 10, 2020 at 13:43
  • 1
    @Hans-Martin Mosner your comment should be an answer so it can be accepted.
    – Encaitar
    Commented Mar 13, 2020 at 16:41

1 Answer 1

1

Config, or maybe Configuration or Settings. A name doesn't need to convey everything about its functionality and intended usage.

The documentation should state that it's mutable and that the program will check every N minutes for changes (or utilizes a file modification monitor.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.