I agree that the dress code is very essential in all walks of life because one has to do this regularly. Since the ancient days, it is well understood that the quality of dressing plays a key role in a person's life.
Whether dress code is important or not is a debate that is going for a long time. As far as I am concerned, I think the dress code is important and should be followed especially in schools and offices.