Many people try to learn code this way:
- Watch a video
- Follow along with the video
- Expect they'll be able to code
But they fail. They can't build things on their own. They panic when they stare into a blank file.
Well, that's because they missed a critical step in the learning process. They didn't sit down and figure things out.
I was good at Mathematics for one reason: I refuse to let myself be defeated by a Math problem.
I'll work on a problem over and over until I find the right solution.
If I don't know what the solution is, I'll still leave my best answer. If my answer turns out to be wrong, well, guess what? I know what to do next.
Sometimes I can't find a solution after spending hours at a problem. It's too hard for me. And I give up. That's when I ask others for their answers. But because I have already done the work of trying to figure it out, I get it immediately when I see the right answer.
I carried this attitude with me as I learned to code.
Programming is easy to learn because you can see the results immediately—you're either right or wrong. If you're wrong, you can make adjustments until you're right. Simple as that.
If you watch (and follow) a video, don't expect yourself to know how to build the same thing from scratch. Videos and tutorials give you knowledge about syntax and techniques. They're like a supply of LEGO blocks.
If you watch a person build a dragon with LEGO, and you follow along, you would make a dragon made with LEGOs when you're done.
But you can't build the dragon on your own. You can't say you know how to build a dragon until you've built one yourself.
Watching the video doesn't cut it. You have to sit down and figure it out. Build the dragon. Code.
Unfortunately, there are no shortcuts.
Once you can build the dragon on your own. You claim victory upon it. You can change it however you wish. You can make it breathe fire, extend its wings, fly, stand on two legs. Many things are possible.
But first, build the dragon. Code. Figure it out.
There's no point.
Googling only works in two scenarios:
- When you need general answers to your questions
- When you can frame your questions specifically to a single topic
"How to build a dragon with LEGO blocks" isn't something entirely google-able. Sure, maybe you'll find a blueprint from Google, but it's likely the blueprint shows you how to build a different dragon. It's not the one you're trying to build.
Then what's the point of Googling? So you can use a different blueprint?
Stop running away. Sit down and figure it out.
School is easy because there's always a correct answer to every problem.
But life? Life is difficult. Nobody has the correct answer because there isn't one.
Guess what? It's okay if you don't have the right answer.
Do the work.
Sit down and figure it out.