A ban seems heavy-handed. Since a noncompete essentially ties up an employee for a period, I'd prefer to see that tie-up treated by law as a continuation of employment at the existing salary. Surely companies must value their precious IP more than a single employee's salary for a year or two — and if they don't, perhaps it isn't that valuable after all.