Never knew this:
But in California non-compete agreements were illegal. That prohibition had been inserted into the state’s commercial code almost by accident, in the eighteen-seventies, when California lawmakers—seeking to save time—virtually copied a set of statutes that had been proposed (and then rejected) by New York’s legislature. When California’s early legislators outlawed “every contract by which anyone is restrained from engaging in a lawful profession,” none of them could have foreseen that, a century later, their decision would transform the global economy.
Charles Duhigg, Did Uber Steal Google’s Intellectual Property?, NewYorker.com