That makes sense in a boom cycle, but we're seemingly entering a bust now.
This era of CS was probably unique in the history of STEM of having high salary rewards for changing jobs quickly. This never existed in Medicine, Maths or Engineering really (unless you found your own company or such.)