My other family of nurses and factory workers definitely think of software as white-collar professional work. Especially anything www.
I think the same thing happens with engineering, except engineers have a bit more social capital due to their guilds.
More-over, the answer isn't static. E.g., a couple hundred years ago, we could've had this same conversation about whether carpenters or silver-smiths are laborers (or whatever other blue-collar-label-of-the-time).
But the answer also doesn't much matter. What matters is that your compensation makes you happy, will keep you happy in the future, and the work is interesting enough to make you feel sufficiently fulfilled (or the pay high enough that you don't care about that).
Programmers, engineers, and the like don't get that automatically, without more context—money, notable employer and notable position at that employer, and even then maybe not quite placed at the same social rank as a doctor/lawyer without even more context, e.g. school, other non-tech accomplishments (languages and arts especially), and so on. Going to any Ivy, top public, or famous European (especially British) school gets you closer (see the part above in paragraph one about socialization into the upper-middle).
[EDIT] I should add that you also don't gain Academic cred that puts you on a kind of adjacent track on the whole class system, with full professorships granting similar social standing to doctors/lawyers and the like. Unless you are in academia, and don't bail on it for private industry too early.
Not just class system, but also career track.
If a DotCom 2.0 bust happens tomorrow, I can bail on tech of a half dozen other fields -- I have the network and the knowledge base to find high five/low six salaries outside of software. That's probably less true for me-N-years-ago, who could program certain things real good but that was about it.
I have some news for you folks, most white collar jobs (account, finance, etc) are more boring than a job as a enterprise CRUD developer.
If development is blue collar, then 95% of jobs are blue collar...
That doesn't make them blue collar, even when we consider some software to be blue collar.
Now, whether blue collar is a useful label and whether people should be considering social capital when choosing a career? Those are the more important questions.