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
It turns out someone identifying a market opportunity, getting funding, renting office space, hiring HR, infrastructure, service and support personnel, product designers, QA, sales, etc, etc all costs a surprising amount of money and effort that for some reason all those people feel they deserve to be paid for..