Dress codes are often how small-minded, cubicle despots get their jollies. They love hierarchy and the games it allows them to play. Later, they go home and someone shoves a cattleprod up their ass or makes them wear a maid’s outfit with their dick hanging out. These two activities are closely connected.