> I've worked for 35ish companies
It seems they were correct not to invest in your skills.
I've worked for six companies over almost 20 years. The majority invested in my skills, and I hope that investment has paid off for them!
Perhaps the lack of investment in their skills was the cause for the commenter’s job hopping, not the effect.
If you include consulting that could easily be 10 companies a year...
I've worked for five companies, on the same products (well, variations there-of over time), for 25 years, due to take-overs (I nearly left ~10 years ago due to management numskullery, but a timely buy-out of the bit I worked for fixed my problems while the rest of the company died off).
Hanging around for a while (a long while) doesn't necessarily mean dedication worth investing in, it could just be that I have a shocking lack of ambition :)