I learned in the late 90s that the best fit for myself was to hop and hop often. I tended to stay with a company for about 12-18 months and would use each hop to increase my salary. Among my friends, the basic catch phrase was "want a 10k pay raise, get another job". This worked well on 2 fronts, your pay kept going up, and you tended to stay at the firm long enough to extract any real value to yourself in terms of interesting projects, learning a new industry etc. That just made you more attractive to the next company.