Small startups in California (where many, if not the majority, of tech startups are headquartered) do just fine without enforceable non-compete agreements.
It's also already unlawful to steal another company's assets when you leave. Besides, companies should file provisional patent applications as soon as they invent valuable proprietary technology to prevent the sort of subject matter leakage you mention.