I think dress code is suitable for some place. Dress Codes will decide everyone who want to go inside place where they want. In Thailand have dress codes for allow people too such as temple If you want to go inside in temple you must dress politely. Woman can’t go inside temple if she wear short skirt or shorts. I think that it’s suitable