Speaking as a 60 year old with a killer resume who has been programming for below minimum wage for the last 14 years, largely because of discrimination:
All discrimination should be legal in a truly free market. Unfair discrimination results in a competitive disadvantage that a free market will punish in exact proportion to the degree the discrimination is unfair.
However, we don't have a free market. We have a market that subsidizes wealth. The information technology sector -- in particular -- suffers from the free protection of network effect wealth such as that which built Bill Gates' operating system (hence tightly integrated applications) fortune and which is building Zuckerberg's. Network effect wealth is essentially wealth that accrues to the biggest regardless of whether they're the best or not.
There are those who claim this all evens out in the end due to the higher taxes paid on income, capital gains, value added, sales, etc.
Wrong.
The key to understanding the difference is in comparing the liquidation value of the wealth as opposed to the net present value of the projected profit stream. The liquidation value represents NPV of the projected profit stream adjusted for risk as perceived by risk averse financial institutions, such as pension funds, investment banks (that aren't socializing their risk), etc. On the other hand, that same profit stream, as perceived by gifted technologists and business leaders might be substantially higher because they understand best how to manage the inherent risks.
Where the network effect is the dominant factor in valuing an asset (as it was with MS-DOS the moment IBM started distributing it as the default OS on their 4.77MHz 8088 PC -- or as it is with Facebook as soon as the social status of Harvard was seen as driving the its growth to dominance over prior entrants such as MySpace) there is less difference between the risk averse valuation and the valuation placed on the asset by the "gifted". If, rather than taxing the profit stream, capital gains, value added, sales, etc. the liquidation value were the tax base for civilization, guys like Gates and Zuckerberg would be taxed out of their stranglehold _very_ rapidly, and more competition could enter the field.
Now, would that mean guys like me get to work for above minimum wage?
That I leave to the fair market.