I'm currently a graduate student who enjoys coding in C++ but I'm a bit confused about the best way to learn programming. When you're trying to master a technology, is it better to read books, rely on online documentation, or perhaps watch tutorial videos? I've seen different opinions around; some people advocate for books as a solid foundation, while others suggest that online resources and hands-on project work are more effective. What do you all think?
5 Answers
When it comes to learning programming, whether through books or videos, the key is applying what you learn. Books are great for foundational concepts, while videos and hands-on practice can help you tackle more specific problems. As for me, I started with books but quickly found that I learned more through experimenting and consulting documentation as needed. Just find what you enjoy and run with it!
No, you don’t *need* to read a ton of books. Many folks learn effectively through online tutorials or direct experience with projects. Focus on creating things and figuring out problems as they arise. Books can help, especially for in-depth understanding, but many find that real projects teach them faster. Keep practicing and you’ll learn plenty this way!
That's a great point! I've learned a lot just by building small projects.
Honestly, by the time you get to graduate level, you should have a good grip on how to learn. It might be surprising, but everyone has their own method. Whether it’s books, documentation, or videos, just figure out what works for you and go with it. Everyone learns differently!
True, every learner is unique, but I still feel lost sometimes!
I get what you're saying. It can be daunting to navigate all the resources available today.
When it comes to learning programming, it really helps to get hands-on experience. Sure, reading can give you foundational knowledge, but ultimately, you need to dive in and write code. For many, formal education does encourage reading texts, but if you’re just trying to pick up skills, there are tons of online resources and coding projects out there that you can learn from. Don’t be afraid to experiment. It’s normal for your learning path to be a bit chaotic; just start coding and solve problems as you go!
Exactly! It's all about getting your hands dirty. Just coding helps solidify what you learn from books or online.
That makes sense! I guess I just need to build more projects and not worry too much about following every tutorial.
I personally prefer learning from books because they provide a structured approach. Tutorials can be great, but they often jump around a lot. With a book, you typically follow a coherent narrative that guides you through the learning process step by step. I think it’s particularly helpful if you’re new to a language, as it allows you to understand the concepts more deeply while building projects along the way.
Do you have any book recommendations? I’d love to check them out!

For sure! Engaging with the material and coding is where the real learning happens.