Don't you think coding is being reassessed in terms of cash value? Egyptian scribes.
Other ways of payment include donations. But in general coded products will (don't you think?) not be cash compensated in the same way as when coding was scarce ('Please take this $300k per year and I don't even care if you complete your tasks!') and there weren't enough products out there yet (the opposite situation as current), and the incumbents were protected by government partnerships.
There are other compensations, but this only applies to people who care about things other than exclusively making the most possible money. Luckily, the workforce now includes many coders so a percentage will be interested in creating products that actually benefit people and are secure.