Otherwise, someone would've collected some VC money, hired the best of the best code monkeys for $1M+ each, and taken over some tech niche by now
https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...
Lucy finds out and orders Steve and Larry to stop doing that.
Now Steve shares salary data with Teddy and Teddy tells Steve what the market average is. Larry also shares salary data with Teddy and also learns what the market average is.
No collusion! But the effect is the same. That's why they earn the big bucks.
You mixed up the analogy though. Rather it should be that tomato seller 1 talks to tomato seller 2 down the road and they agree to never charge less than x$ for 1 pound of tomatoes thus removing market forces and creating an artificial floor for tomato prices