News for hackers. Stuff that matters.
Re:How I use Anki to learn mathematics by webwanderings on Sunday December 11, 2016 @04:24PM (#13153360)
Is Anki useful in learning to program? Does anyone know of any examples?
Re:How I use Anki to learn mathematics by ingve on Sunday December 11, 2016 @04:59PM (#13153596)
Some frequently mentioned blog posts:

Memorizing a programming language using spaced repetition software:

https://sivers.org/srs

Janki Method: Using spaced repetition systems to learn and retain technical knowledge:

https://www.jackkinsella.ie/articles/janki-method

Janki Method Refined:

https://www.oxbridgenotes.com/articles/janki_method_refined

Tips For Mastering A Programming Language Using Spaced Repetition:

https://www.smashingmagazine.com/2014/08/mastering-a-program...

Re:How I use Anki to learn mathematics by pcote on Sunday December 11, 2016 @05:59PM (#13153958)
For me, Anki reviews are a morning ritual. I do whatever it scheduled for the day. Then, I take time to review weaknesses. Then I move onto doing my actual projects. A combination of project experience and curiosity inform me as to what new Anki cards I need.

So yes and no to your question. Anki by itself isn't useful for learning to program. Anki as part of a larger personal development system can be pretty effective from my experience.

Re:How I use Anki to learn mathematics by oskarth on Sunday December 11, 2016 @05:19PM (#13153719)
I did some experiments here: http://experiments.oskarth.com/srspractice/

A key thing is to differentiate between learning from scratch and retaining knowledge/a skill.

Re:How I use Anki to learn mathematics by divbit on Sunday December 11, 2016 @04:46PM (#13153499)
I've used it for many years, and for a short while threw some programming things on there. The main use case (I think) would be something like: you have interviews coming up, and you know a bunch of programming languages, but you aren't completely precise on the vocab for each, e.g. in python you might use len(someString) while in javascript you might use someString.length . Anki would be perfect for straightening all these out. For day to day programming, I doubt it would be useful (as if you forget that for some reason, you could just try it quickly on the interpreter)
Re:How I use Anki to learn mathematics by mikekchar on Sunday December 11, 2016 @08:23PM (#13154787)
Most computer programming languages have a simple syntax, so it's probably not so useful to memorise it. I find that having learned 10s of programming languages, I barely remember syntax anymore and rely on examples in the code I'm working on.

I think what's more interesting is using memorisation for learning short idioms. In fact, I recommend the same for human languages. Instead of learning vocabulary and grammar, memorising the translation of short sentences is much more effective in my experience.

As with the discussion of mathematics, memorisation will not give you insight or fluency. However, to have insight and fluency, you need comprehension and the first step of comprehension is memory. You still need to practice for fluency, though. Some people find that when they are practicing for fluency, they retain what they need automatically. I am envious of those people ;-)

Re:How I use Anki to learn mathematics by kkoomi on Sunday December 11, 2016 @05:15PM (#13153698)
Use Anki to memorize that gosh-darn block syntax. It's like the lord's prayer for me, used it 1000 times yet can't recall it for the life of me.
Re:How I use Anki to learn mathematics by ue_ on Sunday December 11, 2016 @04:42PM (#13153479)
It doesn't seem like the sort of thing that would be useful for programming. I'm under the impression that the best way to become familiar with a language is to just use it. It wouldn't really occur to me to have a flashcard saying "define a function prototype that accepts 2 integers and returns a pointer to char".

Languages (vocab but also some grammar patterns), law cases, and other "fact" things is what I've used Anki for.

If instead you were thinking of using it to memorise algorithms, you'd get too caught up in the content of the flashcard while trying to learn it rather than the process of the algorithm itself. I think, anyway. I've never tried it :)

Re:How I use Anki to learn mathematics by crucialfelix on Monday December 12, 2016 @03:50AM (#13156633)
I often forget some commonly used function definitions, especially when python and javascript have different arguments. I use http://devdocs.io/ which is very quick, but I would probably save a lot of annoyance and avoid these pauses if I just memorized them.

http://devdocs.io/javascript/global_objects/array/join

http://devdocs.io/python~2.7/library/stdtypes#str.join

Re:How I use Anki to learn mathematics by sanswork on Sunday December 11, 2016 @06:08PM (#13154014)
Function definitions and stuff like that I agree you probably aren't going to get much from it but memorizing large parts of the standard library is somewhere you could since in a lot of cases you aren't going to be using a lot of parts regularly but when you need them you'll save a lot of time if you have them in your memory vs having to google/check docs.