If your investment growth keeps tracks with inflation, then they balance out. If you can save 15K in 401(k) a year and put in an equivalent amount into a house, that is 30K a year and by the time you retire, should make you millionaire equivalent (zero inflation adjusted growth).
Add to this the fact that
the profile of a millionaire is very similar to that of a Developer .
Average millionaire is educated with atleast college degree, earns about $100 K (which according to Dept of Labor) is what developers earn, own homes,work 40-50 hours a week etc.
Add to this the fact that most millionaires are very near retirement age and it makes it highly probable that a developer is highly probable to retire a millionaire.