I kept mixing up coding details when I studied late at night after work. I started writing a short explanation beside each mistake and looking over those notes a few days later. That worked better than rereading everything, and I became more confident distinguishing similar coding concepts.