My favourite classes were those where we didn't just get taught facts and theorems but we also got taught a bit about who proved the theorem for the first time, who discovered this fact, what this algorithm was first used for, etc. So much easier to remember too.
This is one of the best things about studying law: the very nature of it makes it impossible to teach it without the historical context.