The Power of Networking
I've been a developer for about 6 years (3 companies) now, and always knew somebody at companies I worked for before I was hired. One of the advantages of working as consultant is being able to meet many people (developers, project managers, etc) from different companies. Because I kept good relations with some of these people, the times I've needed/wanted to change jobs were easy because I applied at companies where I knew someone. I did this because I already knew a little bit about the environment, and I was able to get a recommendation. I've also helped 2 or 3 developers get jobs during my career. Because of all this, I don't worry much about being unemployed.
Any thoughts from developers with more experience? less experience?