"Professional" is subjective depending on your workplace. Jeans and a t-shirt is "unprofessional" if your profession is banking. Fortunately, developers these days have the luxury of choosing a workplace where the standards of professionalism suit them.