what's that? different rooms for boys and girls?
I could not agree more.
Anyway, the idea that the focus of school and childhood should be all about discipline and punishment didn't actually really happen until the 1930's. Before that, the emphasis was on teaching children and preparing them for life. Especially back when it was normal for kids to be working when they were teenagers instead of high school being the norm. But after the stock market crash in the 1930's, they looked at the education system and realised that kids were leaving school with the idea that they had agency in their lives, and had "too strong" of an ability to think for themselves and work through problems themselves, which was seen to be a problem in that "overproduction" was blamed on the stock market crash.
The rulers of corporations wanted workers who were obedient and subservient and who were better equipped to follow menial instructions and carry out menial work rather than striking out on their own, or actually having input into how things could improve. And so education systems were changed, and corporal punishment became common with a strong emphasis on having children remain quiet and obedient, and teaching becoming far less interactive and memory-focused, and free thinking became something to punish a child for. Imagination came to be seen as a terrible trait to be controlled rather than nurtured. Prior to that, real life scenarios were incorporated into the curriculum so children would leave school with an understanding of taxes and taxation calculations and measurements used in real life etc. Now, almost 80 years later, almost nothing has changed, despite "overproduction" no longer being seen as a threat and corporations and pretty much all employers are lamenting that graduates don't seem to be able to take initiative, think for themselves, think laterally, have poor problem-solving capabilities and have called for the reversal of the mindset that has dominated education for so long. But still, there are those who say that in the interest of tradition, schooling should remain how it was post 1930s!