I wrote:

These are a sequence of assignments to the context variables. They are (performed/done/executed/applied/...) when the conditions are met.

Which of the verbs above is appropriate? Sometimes I use "perform" instead of "done" to make the sentence more formal! Am I right?

The common meanings and collocations found in dictionary or google are most around task assignments, school assignments... with verbs like give, get, receive, take on, carry out, do, write, complete and less about my purpose.

  • You might also use made, invoked, enacted, effected, carried out and doubtless several other verbs. Apart from "stylistic preference" there's really no reason to pick one over another, so I think this question is effectively Off Topic writing advice (Primarily Opinion-Based). Sep 10 '16 at 16:08
  • 2
    The verb of assignment is obviously assign. Sep 10 '16 at 16:33
  • @curiousdannii assignments are assigned?
    – Ahmad
    Sep 10 '16 at 16:39
  • 1
    You obviously did think "style" was relevant, since you've suggested that performed might be more "formal" than done. Which I don't particularly endorse myself. I think idiomatically, assignments are more often made than done or performed, but I don't see this as a matter of formal/informal register (except insofar as some people might mistakenly think that longer words are by definition more formal than shorter common words). Sep 10 '16 at 16:55
  • 2
    @Ahmad: Now you've raised that "job assignment / variable assignment" distinction, it does occur to me that We give these assignments to our best agents is perfectly natural English, whereas We give these assignments to integer variables sounds a bit weird (I'd be more likely to say We assign these values to integer variables). Sep 10 '16 at 18:31

Assignment here is an activity derived from a verb (assign) rather a noun like "class assignments". Such activities may take "perform" or "do", "make" or similar verbs, but another solution is to use them as a verb with their arguments. Then I rephrased the sentence as:

It is a sequence of assignments to the context variables. The variables are assigned when the conditions are met.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .