I learn better from books than video courses and would prefer to use them as my main way of studying programming. Is that a reasonable approach, or am I likely to run into problems by relying mostly on written material?
4 Answers
Use whatever format works best for you. Text-based courses and books can be excellent, but try to type the examples yourself instead of copying them. Small exercises and personal projects will teach you much more than simply finishing chapters.
Books can also explain the bigger picture and underlying ideas very well. A book such as Charles Petzold's Code is a strong example of conceptual material that can improve your understanding. Just remember that programming knowledge becomes useful through implementation, debugging, and gradually building your own projects.
Books are perfectly fine for learning programming, especially for fundamentals and concepts. The important distinction is between reading actively and only consuming information. You need to write code regularly, experiment, and build things so the ideas become practical skills.
A good approach is to read a few related concepts, then make a small project that uses them. For example, after learning variables, functions, and control flow, build a simple command-line game or utility. Books are especially useful for foundational material, while documentation may be better for current libraries and frameworks.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically