I became a teacher in software engineering when I was 46.
In our country there have been and still are lots of vacancies for technical teachers.
I find it very fullfilling to work with young persons (students) and it is easy to keep up to date with new software eng. techniques because you are in an environment with som many technical persons (colleagues, students, workfield)
I suspect that depends a lot on location. A friend moved to Europe and software dev salaries there haven't undergone the massive rise we see in the US over the last 30 years.
Are you sure about that? It seems to me the smaller the community and fewer the resources, the more 'intimate' the competition. Stories of feuds over parking spaces abound.