I was considering asking a question about programmer skill not correlating to experience versus HR/job offers pretty much defined by their "years of experience" qualifiers. It may still be too broad or opinion based, but is this question even on-topic since it really applies to HR and hiring rather than programmers?
Probably not a good fit.
Likely going to hit one of these in the tri-fecta:
Off-topic: Career advice
Primarily opinion based.
And that having been said, the practice is not unique to programming. Many fields filter by years of experience. It might be on-topic on The Workplace, but it would be wise to check in their Meta first.