In contrast, the 'neckbeard and star wars t-shirt' is something I've never personally seen working in tech. Neckbeard, yes. I've worked in one waterfall shop and four agile shops, and liaised with techies in enterprise from time to time (zero t-shirts there) - the 'sci-fi geek visible at 100 yards' is a trope, a stereotype. The techies I've worked with have been overwhelmingly male (only one female developer in all that time) and about half of them were family men. That's something the 'computer professional' stereotype actively opposes, instead painting people that are into computers as social losers who can't get a girl.
IT is more accepting of shabbiness in dress than other professions, but I simply don't see the sloganed t-shirt as being the actual standard attire of computer professionals. Instead it seems more to be a shorthand stereotype, just like a white coat and stethoscope signals 'doctor' in the collective mind.
[1] I do have bias here - when I say 'lawyers', I mean ones in business. I haven't had interaction with lawyers dealing in personal matters. I imagine they dress to suit.
Meanwhile: if you select down to consulting software developers, particularly those working at major (500+ headcount) firms selling to Fortune 500 companies, you're going to find that they don't dress like the stereotypical software developer either. Those consultants are the CS equivalent of BigLaw lawyers.
The biggest headcount of a company I've worked in tech with is 60, most of whom were not in IT. The other tech companies are all 10-20 people, including part-timers. Only one company I worked for sold to Fortune 500 - ironically this one had the shabbiest dress of all.
Three of those companies had lawyers - they all dressed in suit-with-optional-tie. As did their visitors (visitors rarely optioned out of the tie) and the lawyers I'd talk to from other companies (admittedly a rare occurrence). Apart from the medical sales at the waterfall place and finance staff, I rarely see a suit jacket in the neat casual dress of other staff (IT or otherwise).
I realise this is all anecdata, but at the same time, the 'neckbeard and t-shirt' idiom is a grossly incorrect stereotype.
I respect that you've had a different set of experiences and drawn different conclusions, but respectfully: I think I'm just going to be hard to convince otherwise on these points, and having a message board slapfight over which jobs wear more ties --- I can visualize myself trying to Google my way to a survey answer to this question now --- shudder --- just seems like a terrible use of our time.
And yes, this isn't a debate that should send either of us a-searching :)