Yes, home prices are insane but it's not going to wipe out all your gains. I worked a programmer in NYC and could still easily save 50% of my after-tax income.
Not to mention that as a programmer you have the option of working remotely (for a healthy 6-figure salary) for whatever low-cost place you like.