3 ms·
I've found I'm effective in Python simply because after 10 years I've learned by heart the most common APIs but would love to pick up one or more languages and
by marmaduke 8y ago
I've found I'm effective in Python simply because after 10 years I've learned by heart the most common APIs but would love to pick up one or more languages and it seems like Anki would be good approach, but I'd like to hear how you split up a language on to flash cards? do you make flashcards for every element of the API (module, type, class, method, function, etc)? Compiler flags, command line args etc?
- xamuel 8y agoBack then, I pretty much made cards for everything possible. One trick is I found it's best to design the cards so you can say the answer fast. You don't want to waste time verbalizing long asnwers. So my cards end up looking like this: (Front of card) Evaluate: {'foo': 'bar'}.get('baz', 0) (Back of card) 0 Or like this: (Front of card) How to get [1, 2, 3, 4, 5] in lodash? _.___(1, 6) (Back of card) _.range(1, 6) That latter is an example of what's called a "cloze", where you show the full answer on the front of the card, except with one part blocked out. You can block out different parts of the answer to create multiple cards for the same question e.g. (Front of card) How to get [1, 2, 3, 4, 5] in lodash? _.range(___) (Back of card) _.range(1, 6)
- marmaduke 8y agoI see what you mean, that's very pragmatic, in the sense that accelerating those sorts of question-response makes coding faster.