Have you heard about Anki and the learning method they uses?
" Anki is a program which makes remembering things easy. Because it’s a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn.
Maybe it would help someone remember commands, functions, classes and stuff like that. What do you think about this?