Harry J. Gensler begins his chapter, "Syllogistic Logic", as follows:
Syllogistic logic studies arguments whose validity depends on "all," "no," "some," and similar notions. This branch of logic, which goes back to Aristotle, was the first to be developed. It provides a fine preliminary to modern symbolic logic, which we begin in the next chapter.
Gensler does not mention the mnemonic. He does mention his star test for validity, Venn diagrams as a second validity test and translating natural language arguments into syllogistic form. These topics would likely be more valuable than memorizing the mnemonic, but knowing that the names in the mnemonic exist and how they were formed adds historical interest.
One can also view names such as Barbara as AAA or AaB, BaC, AaC.
Gensler, H. J. (2012). Introduction to logic. Routledge.