I often do work on an hourly basis. Suppose I charge $500/hour and write a function in one hour that a less skilled programmer charging half my rate does in four hours. Guess who gets paid the most.
John.
John.
Also, the less skilled programmer is going to have a hard time winning projects when his proposals are double the budget and four times the schedule length of yours.