That lifestyle as a teacher is probably only desirable or realistic for the young. Once you want to settle down/have kids/whatever, you probably want to either buy a house, or not compromise quite so much. Does that mean that SF will have only young teachers? Most the experienced ones will move somewhere more affordable. Is that a problem for the city?