4 ms·
I don't know if using spaced repetition works that well for "memorizing" code that you don't use normally. Coding is the kind of thing that you do where if some
by allenu 10y ago
I don't know if using spaced repetition works that well for "memorizing" code that you don't use normally. Coding is the kind of thing that you do where if something is done rarely, it's probably not something you need to commit to memory. Just do a look-up of it on Google or Stack Overflow. The thing you're memorizing is too conceptual, unlike a foreign word or phrase.
This is somewhat related: I myself wrote an app to keep track of foreign phrases.[1] (I'm adding spaced repetition to review things just like Anki, too.) You write down the phrase in your source language (say English) and then the same phrase in your target language (say German). It works fine for that, but I found it ALSO useful for writing down hard-to-remember command lines I needed at work. For instance, I'd create an entry like this: for the source language phrase I'd type in something like "Start a build" and then in the target language phrase I'd type the actual command (typically very long and hard to memorize). When I needed to look up the command, I'd just type "start a build" or even just "build" (it shows multiple search results immediately like Google would). Then it's a matter of copy-pasting the command into the shell.
You could do the same thing by writing a shell alias or a script with a descriptive name, but I found looking things up with descriptive words better.
[1] http://www.ussherpress.com/lpb/ http://www.ussherpress.com/lpb/
- taeric 10y agoI gave it a small go recently to try and learn "loopless" methods for permutation generation. Also used it for heap methods. Plan on using it for a few other things, but haven't gotten there, yet. In both cases, it worked better than I was expecting it to. I have no doubt that I would quickly forget either method, as I don't use them often, but I can at least type them up quickly into a scratch buffer. Even better, by having the entire thing worked out out and known at the algorithm layer, I was able to focus on some of the language specifics in implementation later. All of that is to say, it was great for remembering pseudo code that I would then later focus on implementing. Gave me a much better appreciation for pseudo code, actually.