Yes, they're frequently just looking for butts to put in chairs. Getting the numbers out of the way first helps to avoid wastes of time. But the other side is true also for more junior or underpaid developers. They need to use tactics like these to get themselves to the right side of the bell curve. Once you've developed the experience and skills and had the good luck necessary to move you into the upper range of compensation, it helps to tell them right away to avoid wasting time with employers who aren't interested in paying up for senior talent. Again, though, if you know the potential employer has paid rates / compensation in the range you are looking for in the past, it is also safe to delay because you may get a better offer even coming from an already high compensation.