Learn English – “has to be” or “is to be”


What is the difference between "has to be" and "is to be"?

This is the example sentence:
In case a diarization is desired, a proper XYZ algorithm is/has to be used.

I would like to point out, that my personal opinion is using the XYZ algorithm.

Best Answer

"Is to be used" is grammatically acceptable but stylistically weak. Better to stick to one of these:

  • "has to do": it is required (Sometimes people use this hyperbolically: "I have to go to the movies, all my friends are."). In a technical setting like you allude to, this often means something that fundamental to the project blows up if you don't: CEO goes to jail, client withdraws funding, people get fired, etc. It is usually too strong to use it for an alternative implementation that is merely a mistake.
  • "should do": there are other valid alternatives, but it has been decided that this is the best one
  • "will do": this usually is reserved for a future certainty: "It will be February soon," "It will be night in 4 hours," "The sun will rise tomorrow," etc.