To expect otherwise from one's relationship with an employer, particularly in an at-will employment environment, can be dangerously self-destructive.
If my household budget got tight I wouldn't throw one of my kids out on the street.
I also haven't had 6 different families over 20 years because I didn't like the environment or by getting a new spouse I could make more money...
Or in the words of Netflix "we are a team not a family".
A story was posted here and on /r/gamedev not long ago about a game developer who quit their job and moved to a new town on promise of an interview with some AAA studio (I CBA to remember the specifics right now) but they were so emotionally invested in the hype and culture of that company that they were left in dire straits... when that company simply canceled the interview and passed them up because they said a negative thing about the studio in a forum once.
Unless you're independently wealthy, or not living in the US, and thus protected by a social safety net and strong employment laws, you really can't afford to approach the job market with anything but cynicism.
tldr; programmers need to be leaders too, and schedule regular 1-on-1 meetings with their boss.