Yup, it all depends on where you work. If you work a professional job or simply communicate with clients a lot, you obviously can't wear shorts, but there are, of course, jobs where you can perfectly wear them.I personally think that it depends on the organization you work with and the type of work you normally engage in. In a corporate organization, it will give a negative impression to wear shorts to the office.