Basically, your compensation is based on the face-value of the results of your work, as well as the difficulty necessary in order to be capable of doing such work. So for other positions that require more work-per-hour, they get less usually because a greater population is capable of that same work. (and so, someone somewhere can be found to do it cheaper)
I think that seems to be missed a lot in discussions of this nature, the value of training and the scale of populations with given skills and how more training generally means less people and therefore less who are desperate and will take a lower than standard wage. (while with unskilled positions, it's automatically a race to the minimum)
I don't have an objectively provable rule, but I do have one that makes a pretty good starting point: if you create something valuable, you should be able to capture most (or even all) of that value.
of course, no one just creates things from scratch. they use tools designed by other people, they use resources extracted from the earth, their productivity might be multiplied if directed by a good team leader, etc. if you take the final product and subtract all the tools, resources, and infrastructure used, you have your personal contribution. I think we should strive for a system where the worker keeps as much of their contribution as possible. some people's contribution will be much larger than others', depending on their skills and the type of work they do, but I don't think this is inherently unfair if you have first accounted for all the external things they have benefited from.
A guy that digs gold out of the ground is going be able to sell that gold at a higher price than a guy digging worms; while working at exactly the same “hardness.” There are those that would suggest that both should be paid the same, which is ridiculous as that suggests a pound of worms is as valuable as a pound of gold.
You aren't entitled to profits at all. Profits come after cost. You're cost. You cost more because the demand for your labor versus the supply of your labor raises the price of your labor.
Don't assume this will go on forever, the next bust may well wipe out the huge wage advantage of today's tech workers.
2) The fact that you are paid more ensures that society's demand of your kind of labor is met, resulting in a more efficient allocation of resources. If everyone instead was paid the same, there would be less incentive to get better training or to perform undesirable work, resulting in less efficient allocation of resources.
It is moral to allocate resources more efficiently, as it increases well-being and reduces waste.
> If it were, that would mean being opposed to e.g. being taxed to take care of the disabled.
Not at all. A society which allocates resources more efficiently has more resources available to deal with such problems. It is also in the self-interest of every individual to be taken care of, should they become disabled.
The (im)morality of using taxation to this end (as opposed to voluntary charity and private insurance) is a separate debate altogether.
> I'm wondering whether there's a way to reconcile those two in the same moral framework.
They're already reconciled.
I usually turn this question around: as a programmer, I'm responsible for a greater share of productivity than some people in different functions who are paid less. However, I do not work harder, do not sacrifice more, do not hate my job more - more likely the opposite, even. Why am I entitled to a larger share of profits than other people?
(I understand that the system generally "works better" this way. However, since we're talking about being entitled to something, I wonder if there's a moral argument that can be made.)