Comment by inetknght
It has to do with the culture of the company you're working for.
Professional companies are stereotyped to suits and ties, and company attire is often part of company dress code.
Tech companies are stereotyped to kids and what they wear, and company dress code (if it exists) is often super-lax except for executives -- because the executives need to interact with Professional companies and look the part.
There's a lot of in-between, and it really depends on what company you work for and somewhat to what company you want to work for.