I just started reading the book Magic for Liars by Sarah Galley. I’d purchased it because of a short review, but by the time I got to read it I’d completely forgotten anything about it, so I was bemused to discover that it is sort of a hard-boiled detective murder mystery set in a boarding school for young magicians. It struck me then how odd it is that “boarding school for young magicians” has turned into a whole genre, spanning a range of works for young people and adults, and now starting to colonise completely different genres, like detective fiction.
So far as I can tell this is largely an Anglo-American literary phenomenon (though Harry Potter is certainly very popular throughout the world), and I suspect that it reflects a natural response to the class system and the power that is accrues to elite education. Surely an uneducated Briton, seeing how a mediocrity like Boris Johnson can be elevated to a position of power on the basis of pairing his hail-fellow-well-met demeanour with the Eton-Oxford training can’t really imagine what they’re learning there, but supposes it must be some sort of deep magic. That’s why the spells in Harry Potter are all Dog Latin: Unexceptional people go to these weird schools, learn these dead languages, and end up ruling the world.
Update: I have deleted a comment asserting a common etymology of magic spell and spelling (learning to write). The words (as Maria Christodoulou pointed out) in fact have completely different roots. (I’m not sure where I got this false etymology from. I would have sworn it was Mary Daly, but while Gyn/Ecology has lots of (sometimes dubious) wordplay on spell and glamour, the association spell-witchcraft-learning is not there.