"Every perception is to some degree an act of creation, and every act of memory is to some degree an act of imagination."
-- Gerald Edelman, Second Nature: Brain Science and Human Knowledge
3 Appendix 2: Using Anki to learn APIs5 Appendix 2: Using Anki to learn APIsAppendix 2: Using Anki to learn APIsAugmenting Long-term Memory2020-09-24Journal
I continue doing this, bouncing back and forth between working on my project and working on Anki as I make my way through tutorials and documentation, as well as material that comes up while reading code – code from others, and even code I've written myself. I find it surprisingly helpful to Ankify the APIs for code I've personally written, if they're likely to be useful in the future. Just because I wrote something doesn't mean I'll remember it in future!
So: don't jump into Ankifying tutorials and documentation straight away. Wait, and do it in tandem with serious work on your project. I must admit, part of the reason I advise this is because I find the advice hard to take myself. I nearly always regret not following it. I start a new project, think “Oh, I need such-and-such an API”, and then dive into a tutorial, spending hours on it. But I struggle and struggle and make very slow progress. Until I remember to find some working code to start from, and immediately find things are going much better. I then swear to never use the tutorial-first approach again. Unfortunately, in practice, I find it seductive.