Live data from Hacker News

Remember Rust with Anki

argpar.se

31–36 of 36 posts

Re: Remember Rust with Anki

#31

If you need flashcards to remember syntax, you're probably not writing/reading enough code.

Alternatively, you're writing/reading enough code, but it just happens to be in four different languages because you're doing a mix of greenfield and legacy, and all of these languages have syntax that's both similar _and_ different enough to mess you up from time to time.

Re: Remember Rust with Anki

#32

If you need flashcards to remember syntax, you're probably not writing/reading enough code.

Your comment lacks substance: you have not tried both approaches to provide some insight into their relative advantages and disadvantages.

I've never used flashcards for remembering anything related to programming, but I know how effective it is for foreign language learning, so I wouldn't jump to the conclusion that for programming it would be no better than just working with code.

Languages don't just have syntax but standard library and API functions. It seems like spaced repetition would be an efficient way to remember the synopses of 5000 functions, compared to just spending years reading and writing code.

Re: Remember Rust with Anki

#33
post #9

If you need flashcards to remember syntax, you're probably not writing/reading enough code.

Making the flashcards on your own definitely helps with remembering things.

I have an anecdotal data point here. I have Japanese decks made from third-paty data, and one that I made myself by encountering words in the wild and adding them one by one.

My performance isn't any better on the deck I made myself.

Re: Remember Rust with Anki

#34
post #25

Earlier quoted context omitted.

Probably true if you can't remember how to write if/else or a for loop. But it's very useful for the bits of knowledge that you might not be needing all the time. Don't know how many tweets I've read from developers saying things like "I've been coding for ten years and I still have to Google this one particular thing". Those things are perfect for flash cards. Example: I am almost never in need of grep. But sometime…

Does it speed up development? Or slow it down because you are reviewing things you rarely need instead of doing useful work? Sure in the moment it speeds things up, but over time it slows things down since you spend time learning things you might not need again.

Someone somewhere (gwern? Xkcd?) estimated: if you think you will lose 5’ in the rest of your life searching for it, you can anki it and will save time, statistically, over the long term.

Something like grep can easily meet the mark.

Re: Remember Rust with Anki

#35
post #25

Earlier quoted context omitted.

Probably true if you can't remember how to write if/else or a for loop. But it's very useful for the bits of knowledge that you might not be needing all the time. Don't know how many tweets I've read from developers saying things like "I've been coding for ten years and I still have to Google this one particular thing". Those things are perfect for flash cards. Example: I am almost never in need of grep. But sometime…

Does it speed up development? Or slow it down because you are reviewing things you rarely need instead of doing useful work? Sure in the moment it speeds things up, but over time it slows things down since you spend time learning things you might not need again.

One problem is, "might not need again" is self-fulfilling. When you're developing something new, you mostly rely on what you happen to know.

What you know is a Turing-complete subset with all the platform escape hatches you need, so you're able to get your stuff working.

Re: Remember Rust with Anki

#36
post #25

Earlier quoted context omitted.

Does it speed up development? Or slow it down because you are reviewing things you rarely need instead of doing useful work? Sure in the moment it speeds things up, but over time it slows things down since you spend time learning things you might not need again.

Someone somewhere (gwern? Xkcd?) estimated: if you think you will lose 5’ in the rest of your life searching for it, you can anki it and will save time, statistically, over the long term. Something like grep can easily meet the mark.

Me, yes: https://www.gwern.net/Spaced-repetition#how-much-to-add

The XKCD comic you're thinking of is much more general^: https://xkcd.com/1205/

^ and not too helpful here because it assumes you know how much time something saves/costs - which isn't obvious for spaced repetition because the entire point is to dynamically adjust the timing & number of repetitions over the long run.

Post reply on HN