Why do school dress codes often go overboard in what young women can't wear?

Anonymous
Why do school dress codes often go overboard in what young women cant wear?
A lot of dress codes in the US and around the world go to great lengths to require girls to be covered up---no thin straps, no skirts anywhere above the knee, the front of shirts must reach the clavicle....and behind this, there is always someone going, "because it's all too distracting from the learning process," but clearly it is not the girls who are allegedly distracted while painting a picture that boys are just sex crazed maniacs who can't keep it in their pants if they see an ankle.

If the latter is the case, then shouldn't we focus our attention on teaching young men to keep it in their pants rather than just force young women to wear floor length skirts as this does not actually address the issue at hand *because they apparently cannot be controlled by their will alone*. Oh and if students are there to learn, not walk the catwalk, then teachers and admins should really be focusing on teaching their subjects not on what students are wearing.
Why do school dress codes often go overboard in what young women can't wear?
10 Opinion