Post

There is something about fingers to brain. I remember I would write out anything I was going to present, often several times, and it seemed to stick better than just reading it. You have to do things to really get it.

Learn Python the Hard Way was also my first foray into coding :) Still remember the exercises saying something like “write out the command ls 10 times. No, seriously, write it.”

I also finished The Programmer’s Brain this week and I started grokking code much, much faster by using flash cards and trying to rewrite examples from memory. Turns out not saturating your working memory is extremely important!

So I have a slight objection to the phrasing here: I've seen the "I'm using AI the right way!" learners think that simply typing out and memorizing what the AI output is equivalent to this. There is a growing cohort of folks who never learned how to learn, only how to memorize.

So when you say "type it out from memory," in good faith I assume you mean translating examples and trying to produce code using your memory of concepts, syntax, and mechanics. If you mean what the person in the screenshot is up to I have a stronger objection.

Yeah, I mean generating new things from scratch (that's my understanding of what the literature means by the "generation effect") There is a related effect for the other thing you mentioned which is the "production effect" (basically transcribing an example)

Interestingly, research shows that the production effect also improves comprehension, albeit not as much as the generation effect (unsurprisingly) So it's not as good to just mindlessly memorize and/or transcribe an example, but it's still better than just passively reading

Ooooh, I'm pretty sure that line is what I was remembering. I'm going to use that excerpt, too, for my post

Back when learning programming in the 1980's, for the first year or two I first wrote my programs by hand on paper, simply because the access to terminals for beginners (mostly ADM3A) at the Helsinki University of Technology was limited (this eventually eased). Maybe it helped learning.

A HS teacher taught me this, it's why writing notes by hand is a zillion times better for learning than recordings, reading summaries, etc. The act of taking the content and reshaping it into your own words *is* the learning.

My entire career in software I always took notes on paper - not just meetings but if I solved a gotcha that had stumped me I also wrote down how I solved it. The physical act of writing it helped my brain remember for the future. While I rarely had to refer to the notes they occasionally saved me.

Our coding exams are the most hazardous thing on campus. Officially, as reported by Security and the uni-wide OHS committee. We get more panic attacks, vomiting, asthma attacks, even heart problems than live rest of the uni put together *all year*, and it's only been that way since AI.

We put students in an environment with just a text editor and a shell, and it's clear that a lot of them have never done the gristly bits themselves - and the blank page effect hits them like a ton of bricks. We have pretty good AI-proof assessment, now we need better AI-proof teaching.

I'm not sure how you get through to stressed, poor and time-pressured 18yos that doing things the hard way is the only way to make it through, when it's so trivially easy to hit the 'do it for me' button, especially since they're cramming in gig jobs just to be able to eat.