An important lesson for learning to code

This is something that I've been told by several people in different ways over the years. However, it took some time for me to fully understand it until I began applying the concept myself: learn by doing.

As many of my friends and mentors would put it…

“Build a lot of stuff!”

“Work on a personal project as you learn.”

“If you're not applying what you're learning, it almost doesn't matter because you’ll soon forget it.”

Yes, it's absolutely true that different learning styles exist. I personally tend to lean towards the “visual” learning style. But when it comes to fully learning something in a way that you can then use it I believe it is also necessary to actually apply what you learn as quickly as possible. This process forces you to not just remember what you were trying to learn but also see it take shape as you use the knowledge, which I feel further reinforces the memory in your brain.

I've also seen proof of this concept, in regards to programming, in many areas. Here are a few of my favorites for inspiration:

It is because of this that I've taken on a new approach to learning; whether it's coding or anything else. If I'm doing coding tutorials I don't just follow along or use the provided code as is. Instead I try to build the tutorial app from scratch and add new features or make a different version using the same concepts. Here are a few Android apps I've built through this process:

I've also begun using this method of applying what I learn as I go in other areas with great success. I recently read a fantastic book, called The Art of Explanation by Lee Lefever, and made a presentation to my team at work on how we could improve our processes with better explanations. It not only helped me internalize the concepts from the book but it felt great to be able to share them with others.

As a final note, I shall leave you with this awesome video and quote from Kevin Gisi’s YouTube channel CheersKevin where he says:

“Don’t learn to program. That’s like learning how to saw or how to glue or how to hammer. Solve cool problems and make cool things.”

— Kevin Gisi

Daniel Perez-Gomez

Hi there! 👋 I'm an Android developer currently based in New York City. I write mostly about Android development using Kotlin as well as other programming bits. I'm committed to making this complex field fun and accessible to beginners through my guides and tutorials. I'm also driven by the belief in technology's power to enhance lives, which motivates me to develop apps that are both user-friendly and prioritize accessibility, catering to various needs. Additionally, I host a YouTube channel, “Daniel Talks Code”, where I break down complex concepts into easy-to-follow instructions. Join me in my quest to make the world of Android development inclusive and accessible for all!

Previous
Previous

What is State in programming?

Next
Next

How and why you should learn to see positive patterns