Why Memorization is a Terrible Way to Learn How to Code: Insights from a Self-Taught Web Developer
This post was originally written in late 2020, but was never published until now. Better late than never.
I've been teaching myself how to code for the last six months. More if you count learning HTML and CSS. In that amount of time, something became glaringly obvious: most people are learning how to code on hard mode.
In this six month process teaching myself front-end web development, I noticed a ton of people were trying to learn how to code through memorization.
Wrote memorization is a terrible way to learn how to code for two reasons.
- Memorization actively drains your willpower and mental energy
- Understanding coding logic is much more important and sustainable
Learning languages is about connecting what you already know with new concepts and applying these new concepts to real-world examples with some frequency.
But most coding tutorials don't help you connect their new ideas with concepts you already understand.
Most coding tutorials are faster paced than new students can absorb, yet simultaneously lack important context that explain why certain methods are being used.
Most tutorials show you how to do cool things, have enticing titles, and even share source code for transparency, but don't explain the logic of the code at all.
As someone who's taught adults and children serious topics before, I find relying on mediocre learning resources intolerable. You can learn how to code without wanting to pull your hair out. Insist on using resources that explain WHY.