profile

Hi! I'm Al Khan.

Using Anki for better programming: Card examples and some tips

Published about 1 year ago • 1 min read

Hello Reader,

Yep, the programming deck you're looking for probably doesn't exist... (or should I say 404 not found???)

But it's not the end of the world, because not only are programming cards easy to make — you also only need just a few of them.

I'm saying there's no need to create cards for every damn function!

If you're constantly forgetting how arrays work because you keep on jumping from language to language, why not create a card that asks you about it?

Like this:

Still confused? Follow the rule of redundancy:

Trying to make something repetitive that doesn't involve just a single piece of code?

Gotcha.

Make a card that asks you just the main idea for creating that "something repetitive" — you can reconstruct the code yourself, after all.

"But Al, I really need to remember the functions..."

You know what? You don't need to just remember the functions — you wanna be able to use them.

So, better to create a card that asks you to at least apply that function in a simple way:

Sometimes you could be a little bit more hard on yourself — but not too hard:

So, basically...

You make cards specifically based on how you plan on recalling the information, or in what context.

It's impossible to know for sure, but at least have an idea on how you're going to use them in the future.

And of course, it should be noted that everything here relies on the fact that you are actually doing programming.

I hope these examples help! They're from my own deck :)

To smarter studying,
Al Khan

Hi! I'm Al Khan.

Helping serious learners build their dream careers using a "3-step study workflow". If you're a serious learner yourself, this newsletter will help you become a top-performing student and get into your dream job while having loads of fun studying :)

Read more from Hi! I'm Al Khan.

Hello Reader, If you're trying to learn a new language, learn programming for your big career shift, or just become better at problem-based subjects so you could get into your dream school... Anki could help. But it's not in the way you'd expect — most people would use it in this way: memorize an entire freaking dictionary and drown doing reviews with 9000 cards try to remember the entire python documentation cram a ton of math formulas into their head ...and then wonder why it's not working....

7 months ago • 1 min read

Hello Reader, When I was staying in Manila to prepare for my Board Exam, I often missed the food at home. I always craved for the homemade filipino Adobo or Sinigang made by my grandma — instead of the regular, mass-produced fried chicken & tortang talong (eggplant omelette, I think) at nearby carenderia. (eatery) But there was a problem... Commutes were such a hassle! I mean, how am I supposed to go home and bring back my sanity if I couldn't afford to lose 2-3 hours of otherwise studying...

about 1 year ago • 2 min read

Hello Reader, As you know, there's this AI hype train going on, and I'm really not convinced about its utility...especially when it comes to Anki. It's just like when the "second brain" note taking apps came out: Everyone in the space thought these Zettelkasten apps were magical and would "do all the work for you" or "remember 300 books forever" — only to realize that all the tool has ever done is help people create surface-level content faster and accumulate a bunch of notes you couldn't...

about 1 year ago • 2 min read
Share this post