I have considered trying to learn languages using spaced repetition (e.g., http://sivers.org/srs), but in the past my desire to learn the 'best' approach has stopped me from pursuing this method.

For example, in David Flanagan's JavaScript The Definitive Guide, there is an example (top of page 7 in the 6th edition) that includes:

var square = function(x) {  // Functions are values and can be assigned to vars
    return x*x;
};             

While he adds the comment about functions being able to be assigned to vars, it strikes me (a novice) as a bad example. That it would be better to do:

function square(x) {
    return x*x;
}
squared = square(x);

But, I am a novice. So, maybe there is a reason David's example is better than mine. And down the rabbit hole my mind goes.

So, my main question is, is Code Review an appropriate forum to post possible flashcard code for alternative question & answer suggestions, along with discussion on which are optimum?

My secondary question is, is there community interest in building up Anki shared decks, particularly for JavaScript, Node.js & Python?

share
I think trying to making learning programming into a memory task is going about it the wrong way... – Winston Ewert Jan 24 at 1:42

migrated from codereview.stackexchange.com Jan 7 at 6:34

You must log in to answer this question.

Browse other questions tagged