It depends on how willing you are to live below your means, and below what your peers in other regions have. The programmers I know outside the Bay Area (or NYC) own houses with yards that have plenty of room for kids. Even relatively young ones. To buy the median single family home in San Francisco or San Mateo country, the minimum salary is circa $290,000. [1]
[1] http://www.mercurynews.com/2017/08/11/bay-area-real-estate-t...