The flip-side is at the moment here it's a profession where you're sort of expected to change employers every couple years if you're ambitious (because for whatever reason, the fastest way up is sideways). While job security isn't high, career security for the moment is (that is, one is always able to find another job).
Of course, being better at your job puts you in a better situation in either case.
However it is important to note that some of what I've just said may not apply as strongly outside this valley. This is a slightly weird place, full of hopes and dreams and lies and unicorns and also, quite a lot of programmers in one place. Certainly, I would be a little surprised if everything works the same way where you are; the economics and culture probably both play out quite differently, I suspect.
As an aside, I'm a contractor, not an employee, so my job security is noticeably worse. There are some things I prefer about being a contractor over being an employee, such as the fact that any ideas in ny head I have related to the job, are not the legal property of the employer (which always creeps me out that our legal system is okay with that sort of dystopian shit, can I own my own thoughts please? I am not okay with people owning bits of me. )
(I'm sorry if this wasn't as helpful as it could be)
Edited by pokari, 26 May 2019 - 09:46 PM.