As a description (which is an easier translation of this idiom into English than an imperative) “is assigned to”.
Imperatively, English tends to prefer verb-object with implicit subject, so we ought to be using a Lisp family language (setq “foo” 42) maps better to English imperative structure than most popular languages that do imperative assignment.
"is assigned to" is passive voice. I think we've all learned in writing classes we should avoid it as much as possible because stating the active voice is clearer.
This is true of the indicative mood, but not the imperative.
Giving commands in the indicative mood is not typical.
Writing classes can be misguided.
[1]: https://www.ef.com/ca/english-resources/english-grammar/pass...
"The passive is of course perfectly respectable, and there is no reason to try to avoid it. (To say that it shouldn't be over-used, or it shouldn't be used where it is inappropriate, doesn't distinguish it from any other construction or expression.)"
See the tremendous list of Language Log links at the bottom which deal with the issue from a host of angles. I recommend reading some of them - Geoff Pullum, in particular, is usually delightful.
"You should use active voice whenever possible" is bad advice - both active and passive are (nearly?) always possible but often one is clearer - and that can very much be the passive.
"You should use active except when passive is better" is arguably correct but fails to actually provide guidance about when the passive actually is better - which isn't rare.
That the passive is often overused may be useful to note, if that's actually the case.
In programming languages we often find better, we prefer explicitness over implicitness if the language is already designed to be very concise. Case in point: Python.
The clearest is not the most informative; the clearest provides the most important information and the least distracting information.
"Helicopters were used to control the blaze" is no less clear than "the blaze was controlled using helicopters". And, assuming the news item is about the trajectory of the fire, it is much more clear than "Pilot John Smith, having just moved to the area from Baltimore where he attended school with a 3.7 GPA, helped control the blaze with a fire department helicopter" despite that offering quite a bit more information.
To your explicit claim, I contend that "the passive voice is overused" would not be made clearer phrased "writers overuse the passive voice".