A new student of mine recently shared his code-learning journey so far: he had watched countless videos on web development. But whenever he'd go to actually build something himself he couldn't remember how most of it worked. The smallest snag and he was stumped. He constantly felt frustrated and discouraged that all his time and effort spent wasn't translating into to actual skills. He wondered if he was even cut out for this. He was stuck in tutorial hell.
Whenever I crack open a new board game I've never played before, I like to watch a video of someone experienced with the game explaining its concepts and rules. I read through the manual, setup the board, and try it out myself. Without fail, I get stuck and have to google for answers to my many questions:
"How do the monsters select a target?"
"Do you still retaliate if you're dead?"
"What do curse cards do?"
If it's a complex (and amazing) game like Gloomhaven then it's going to take dozens of game nights before everything really clicks. Watching more tutorials isn't going to help at this point— you've just gotta play the game.
Learning to code is the same way. The concepts are abstract and the rules are complex. New tech (like expansion packs) are constantly released. You don't need one more tutorial— you've just gotta play the game. Use the tech yourself. Build something (a lot of things) with it. This is the only way you'll master it. It's the only way you're ever going to get to the point where you can just sit down and work, without having to constantly stop and reference the rulebook. And that's when the real fun begins.
Before you can learn anything you must first stop thinking about yourself entirely. Then once you begin to learn something, you start by loading information into your short-term memory. This is where reading blog posts, following tutorials etc is helpful. But don't stop there. And especially don't move on to something else too soon. Trying to cram a whole new topic into your overburdened prefrontal cortex isn't very effective. Your short-term storage centers only have so much capacity. Like a computer's RAM, if it runs out of space then new data will overwrite previous data.
Before moving on it's important to convert that fresh information into something more stable and long-term. For this you have two options: declarative memory and procedural memory.
To be useful to you later, this type of memory has to be re-loaded back into working (short-term) memory. Similar to loading data from a computer hard drive back into RAM. This process is relatively slow and takes effort.
There is a much better long-term option for skills like coding: the cerebellum (and friends). Unlike memorization, procedural memories arrive here implicitly— on their own, often unintentionally. The process happens automatically simply by doing something. Procedural memory is formed every time you set a CSS property and watch the results. Every time you write a function implementation and check the result it returns.
Every time you write (or edit) code, you create (or strengthen) procedural memories.
Recall of procedural memory is instant, unconscious, and effortless. Right now you are reading this post without having to remember how to read. Later you'll write an email or slack message without having to remember how to type. At this level the skill becomes natural, effortless. And it's completely possible to get there with coding skills.
Procedural memory is also sometimes called muscle memory, because when it was first discovered it was initially believed to only apply to motor skills (e.g. driving a car, playing the piano). But studies of people with amnesia (who are unable to form declarative memory) has broadened our understanding.
Procedural memory is the superior long-term storage option, and creating it in students for coding skills is the primary goal of Mastery Games.
Think of the last time you sat down to code something up. Was it effortless? Or did you have to work to remember how? Or did you have to work to remember where you might have seen the answer before as you go look it up? This simple exercise will reveal to you which long-term memory drive your coding skills are currently residing in.
But don't get down on yourself if you realize you're mostly using declarative memory! We are all that way, in a lot of areas! The takeaway though is that you don't have to settle for that for your coding skills. You can have it better. You can transform yourself into a beast of a procedural memory machine.
How do we go about transitioning to this ideal type of memory?
Doing something on repeat will form procedural memories. But mindless repetition isn't the most effective strategy. Deliberate practice is the key. With deliberate practice you pick a single thing you'd like to improve, and you do it. Over and over, making sure you have good feedback to know whether you're doing it correctly.
In Grid Critters students spend an entire learning session on a single CSS Grid property like
grid-auto-flow. They learn the ins and outs of the property, then solve challenge after challenge using it as the key component of the layout.
Most courses and tutorials don't include the deliberate practice component, but you can set it up for yourself. It's not too complicated:
grid-template-columns, not all of CSS.
Do this consistently and before you know it you'll notice yourself gaining the perks of leveling up.
Say you want to learn CSS position sticky. Start with blog posts, videos or the great resources on web.dev and MDN. Great! Your short-term memory is loaded up. Now go build a lot of things with what you just learned. Find layouts you think look nice and see if you can recreate them yourself. Direct that fresh information straight into your procedural memory centers. The more times you do it, the better.
In my guest episode of React Podcast I shared the story of how I used deliberate practice to get better at StarCraft2. You can use deliberate practice to get quite good at literally anything.
The student I told you about at the beginning of this post wrote me back a few weeks later, after using the deliberate practice I provide in my Mastery Games. He was ecstatic to tell me that CSS Flexbox and CSS Grid had finally clicked for him. Not only had he escaped from tutorial hell, he now had the confidence to go master anything else himself. That's the power of using deliberate practice to form long-term procedural memory.
By the way, Grid Critters is currently on a huge sale. Save a ton of time creating your own deliberate practice sessions for CSS Grid. I've got the full Mastery Game experience ready and waiting for you.
Master CSS Grid right from the start by playing this new mastery game. You'll learn the ins and outs of Grids one fun level at a time, while saving an adorable alien life form from certain destruction.Master CSS Grid