Starting in industry after a PhD doesn't put you any higher on the ladder than a fresh BSc graduate.Where you enter the industrial career ladder depends mostly on the kind of experience you would get in industry, but you can get that kind of experience in a PhD program, too, possibly much faster. If you work on a large software project, collaborate with other people on software projects, plan and execute programming tasks, make presentations, and teach undergrads, you'll be hired well above the level a good fresh graduate would. Your initial position will reflect some conservative doubt about the quality of your experience and how well you will adapt to the "real world," as we rather unfairly like to put it ;-) but it will still be a significantly higher and better-paid position than a fresh grad would get, and you'll be prepared to move up quickly to a senior position. Of course, the depth of knowledge you obtained in your specialty will mean nothing, and your research skills will mean nothing to the people who hire you, but your ability to organize yourself, think methodically, and execute long-term projects will separate you from your competition and make you an obvious candidate for quick promotion.
On the other hand, if all you learn about in grad school is your research topic, and you manage to get by without developing any of the skills I mentioned above, you will indeed be starting from square one, in the same position as a 22-year-old except with less energy and less time before you die.