Are you aware of other options, such as non-shit jobs?
So then I say a better strategy is to do work that pays above market but you still enjoy instead of something significantly higher paying job that you dont enjoy. Just 2c from a middle aged techie.
The one thing you probably can't 100% count on having the ability to do when you get old is work, which is why it's so important to "make hay while the sun shines" as they say--max that salary while you can. Especially in the tech industry where there's already so much ageism. I am not counting on my ability to pass an interview or actual physical do work, beyond like 60 or so, but still need to financially prepare to live to 90. I think some people on HN just assume they'll be capable of working up until their final day, so why save?