2

For the last few years i've always written the following sentence with for:

... the value for the thing.

But now I've been writing a lot of documentation and I've started wondering if I should use of or for in this case.

the sentences i'm writing are like this:

Gets or sets the configuration for a specific port.
Gets or sets the current state of the access provider for a specific port.

so my question: Is 'for' in this case the correct word to use or should it be:

Gets or sets the configuration of a specific port.
Gets or sets the current state of the access provider of a specific port.

1

"Configuration for..." means a configuration that is suitable for use.

"Configuration of..." means the configuration in actual use.

|improve this answer|||||
  • so if i were to set it i should use for and if i were to get it i should use of? – Vincent Oct 28 '16 at 12:35
  • 1
    No. You get or set the configuration of a port. However, you create (design) a configuration for a port. – Mick Oct 28 '16 at 12:38

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