Choosing to flagrantly break the convention of the business makes you like a prima-donna and is an obstacle to your own success. Why blow the large investment of political capital that the POTUS is investing in you to get past stupid political problems caused by wearing inappropriate material.
This goes both ways -- if you stroll into a Valley company in a three-piece suit, people are going to look at you funny and discount your advice.
You don't win by alienating the customer.
So, there's a lot of interesting signalling at work, right? Clearly, if you want to show "Hey, we're serious about improving the tech issues in government--so much so that we're willing to try new ideas and get out of our comfort zone" the simplest way of doing that (far simpler than, say, granting actual authority, spending money, or whatever else) is to "allow" these coders in in their native dress.
It gives you PR opportunities which might help lure in more developers and let the public think "oh golly they've got smart-looking folks working for them...they must be serious!". It lets you easily identify who is probably part of the tech branch, because they dress differently than everyone else given the opportunity.
This additionally helps create a bit of minor strife between them and everyone else: you have a way of constantly reminding other departments that you can embed people in them they wouldn't otherwise like and make it stick, that you can grant leniency to those you favor, and that you can deny assistance that they (internally) know that they need by withholding the wiz kids (who, again, are easy to spot).
Additionally, you end up with a mild antagonism which helps scapegoat the nerds if they don't work out: "Oh, yeah, well, they just didn't fit in--didn't even bother to dress like us. Sorry about that, we'll bring back the old contractors...they knew how be respectful (read: behave)".
~
I'm generally loathe to dive into such power-politics and scheming, but if there's one place it may actually be happening, it's DC.
That distinction is a double-edged sword. Life in a government bureaucracy is different than in the real world. There is very little distinction in terms of compensation, so leaders measure status by other measures: control, headcount, etc.
If you're trying to affect change, the smart bureaucrats will "support" you, but stand back and do little to help you. (Remember the President has a shelf-life, they just need to delay two years) But when your elite programmers wearing shorts and flip-flops have any kind of issues, they will immediately turn on and marginalize them. It's easy to target "them", because they stick out like sore thumbs.
As a self-contained group working for the ultimate big shot, your air cover is then at risk, because the people surrounding the commissioner/mayor/governor/president will distance their principal from any potential of failure.
Requiring programmers to wear suits is just as much "choosing to flagrantly break the convention of the [programming] business" as not wanting to wear a suit to a government job.
In a situation like this, it'll come down to who wants it more. The government has a tough time recruiting people for big computer projects. Programmers have an easy time finding jobs at the moment. So guess who wants it more.
Anyway, I find it regrettable if the image of the profession is one of disheveled, slovenly, overgrown babies. I don't think that's healthy and I doubt it contributes much to diversifying away from white males.
If you don't agree with the dress code of the company (and especially if you disagree that strongly), the company culture might not be a great fit for you. I've grown up expecting California tech workers to dress like Kevin Rose. I've grown up expecting everyone else to dress in business casual. I wouldn't say the image of the profession is necessarily disheveled. It depends on where you are and what company you work for.
Suits can look amazing, but they are just one tiny corner of the realm of possible styles, and nobody likes being backed into a corner.
Okay.
Seriously, software is eating the world (lol), and it's still funny to treat developers as infantile? Christ.
~
https://www.usajobs.gov/GetJob/ViewDetails/378059600
"RELOCATION EXPENSES WILL NOT BE PAID"
Fuck you, Fedland.