So wait, coding without a shirt on is how a thing?
My god man.
If there is air conditioning, slacks shouldn't be a problem though shorts aren't extraordinarily unsuitable.
You can wear a shirt man.
I was glad to see a dress code come in.
Obviously I don't wear any of the graphic or gory ones, or from bands with obviously offensive names, and I will choose a nice polo shirt if I know I'm going to be having meetings people from other parts of the organization, especially if they're higher up in the hierarchy.
That said, the best head of development we ever had would wear leather pants, ass-kicking boots, rivet belts and band shirts, and he had a Mongol warrior-style beard and hairstyle. He also consistently got the very best reviews and the best results out of his teams.
Nobody had a problem with the leather (although a peekaboo stripe of visible leg down the outside of each, covered in a criss cross of something that looked like shoelace was sometimes a surprise). That was just flavour detail.
I don't even own a suit :-)
Edit: A few years back I turned down a second interview at the same organisation after they insisted I turn up "in standard business attire" - i.e. a suit.
Last time I went on holiday, I took a tailored suit and dressed smarter than I do at work. Three-piece suit (typically I wore just the waistcoat; done right, that looks smarter than the jacket), tailored shirt to go with it.
When it's your own choice to look sharp, it's a whole different game.
"We have smart casual dress code in this software department. So you can't wear shorts event if its 40 degrees celsius. Oh and shirt is mandatory"