I can't think of a single real-world situation that would be improved by having noncompetes enforced. Can you?
Maybe they are a lot like software patents. There are a very few cases where someone has created software that is a genuine advance, requiring rare skill and talent and time investment -- but the overwhelming majority of patent claims are totally invalid, hence they are a bad idea.
Maybe there's some imaginary noncompete agreement that would benefit the parties to a contract or the general public, but in practice they are just going to be used by institutions with greater legal resources to provide leverage on with fewer such resources.