if every single programmer tomorrow suddenly became a freelance independent contractor
how fast do you think salaries would move appropriately?
both junior salaries down and senior salaries up
which is the third reasons salaries stay low - programming projects take a really long time to bear fruit. compare to how long it takes to install a new kitchen sink
or, instead of every programmer being a freelance independent contractor, imagine the team lead of every programming project were suddenly like a construction contractor
few companies have an inhouse construction team, even if they're large enough that they're hire a construction crews to build a new office building