In France, and I believe in many other places as well, you can't have a noncompete without proper compensation. Compensation is relative to how it will affect the former employee career, it is usually less than a full wage, but it can be that if it makes finding a new job particularly difficult.
There have been a trend at one time of bullshit noncompete clauses that were too broad and didn't come with compensation, these are not enforceable. If they tried to sue the employee (they don't), they would be laughed off by the judge.
The norm there is paid time off between jobs (“gardening leave”). Everyone knows it is part of the system and that a mid level or senior hire can’t start right away. They also buy out still vesting bonuses and the like.
It’s quite a civilized system and I think the law ought to leave it alone, while addressing abusive ones like we have in tech.
Or codify it. Imho the better alternative. One should never assume that companies won't try to change the system to the detriment of the employee if they see a chance.
At other companies CEOs secure themselves giant equity packages to “retain the best talent and align shareholder interests” and then think they can motivate rank and file employees with t-shirts, “the mission,” and shoutouts during all hands.
In finance, CEOs acknowledge that everyone is there for the same reason—executives and regular employees alike. The numbers are definitely smaller but bonuses are bonuses and not employee of the month mugs.
Maybe if more companies and their executives were so open with what they want (and maybe I'm cynical, but imho it is the only thing at least 99% of them want) things would be better.