I remember that thread (and replied to it!).
It's important to remember the whole "30-40% raise when you switch jobs" only really happens at the beginning of your career. Your next job switch will maybe be 20-30%, your next one 10-20%, etc. until you reach the inevitable compensation plateau. I'm over 20 years into my career and my last job change was for +1% or so. No company would offer more.
If one could actually get a 40% bump every job change perpetually through their entire career, someone who starts at $100K would only have to change jobs seven times to reach >$1M. No way on earth that is happening for the vast, vast, vast majority of tech workers who job hop.