In addition, if you are hurting for someone in order to hit a deadline, it might just make sense to pay unreasonably as long as the numbers still work out.
Perhaps -- and existing salaries should be adjusted to reflect that.
In other words, companies can systematically distort the free market in labour by withholding information about the true salaries it offers from its employees.
If your performance:pay ratio is off and the supply of developers is high, there's nothing stopping them from letting you go.
Not everywhere allows employers to just fire-and-replace an employee on a whim.
People with similar capabilities should have similar salaries. The qualifications are meaningless once you actually land the job.
Case 1: You're making as much as you want (given relevant factors)
Therefore you're fine, why are you complaining
Case 2: You're not making as much as you want
Isn't your beef with your boss for not paying you more, instead of with your coworker? Ask for a raise
Though I guess the core is you wouldn't want to work in a place where there's restrictions against you getting a raise (which equal pay could theoretically do if the rules are restrictive enough)
As a side note, two thirds of your skill? How would you define that really? Are you able to gauge your coworker's skill levels with that amount of granularity?