it's not. the more assertive you are with your compensation requirements, the more likely you are to get paid what you want.
i don't know where this crazy idea of "don't tell anyone what you want to be paid" came from, it sounds like some real amateur hour nonsense that will get you passed up in favor of someone who is more straight forward with the entire process.
imagine trying to buy a product or service, but nobody will tell you how much it costs, but instead tries to subtly hint that you should name your price.