Spaced Repetition for Programmers
Why you forget syntax, and the ten-minute daily habit that fixes it.
Forgetting is not a failure of willpower, it is the default behaviour of human memory. The forgetting curve says you lose roughly half of newly learned material within a day unless you actively retrieve it.
How to apply it to code
Keep a deck of small prompts: "how do you bind a parameter in PDO?", "what does array_column do?". Review the ones you get wrong more often. Ten minutes a day is enough.
What not to put in the deck
Anything you can look up in three seconds and rarely need. Optimise for the things you use weekly, not annually.