yeah they get paid a decent middle class salary. Can they afford a nice apartment in the West Village? No. Can they afford a nice 3BR/2BA in a decent neighborhood in Brooklyn/Queens/Bronx/Staten Island if their partner is also a civil servant like a teacher? I think so yes.
(not that teachers shouldn't get paid more, they should)
(not that teachers shouldn't get paid more, they should)