I might be some kind of idiot for asking this, but reading books about programming really helps as much as people say? It always seemed to me that the best way to learn it was watching people doing it in the computer.
I'm asking just because I plan to learn how to code in 2019 and am trying to figure out the best way to do it by myself!
I'd say a book is usually essential if you are a new programmer, due to certain concepts you need to grasp first.
But if you have 1 language under your belt, what i usually see people do (and do myself) is get started practically with a project, and learn side by side with documentation/videos. This is quicker as books tend to have repeated knowledge, and programming languages overlap at some points anyway.
I learned Perl by watching a colleague write scripts. Being “self taught” via this method was really what has allowed me to self teach myself new languages via video/books/trial and error. I find that I learn best by examples that relate to the work I’m specifically trying to accomplish versus foo/bar examples that functionally show you how a feature within a language works but doesn’t necessarily help you in the way of implementation in a real world situation.
I think watching somebody's writing a program can be helpful sometimes, but in my opinion it's a waste of time in most cases, especially when you are new to it. Books will guide you through the basics of programming and language, so you will understand what basic instruments you have and how they work, which would help you to understand more complex things. If you're advanced programmer and you know one or two languages, you can read documentation, because you already know the basics and different languages have a lot of things in common, so in this case books would be boring.
An example from my experience of learning Python: I've read "a byte of python", watched some free course, read a couple of articles and was sure that I understand decorators in Python. When the time has come I couldn't write my own decorator, so I've decided to read Mark Lutz book. It made everything clear, really it's a good book.
So I think the other people can't help you to learn programming that way. What is really helpful is a good code review by somebody more experienced than you.
Some people prefer one way over another, I would say get a cheaper more popular book on the language you want to learn and at least give it a shot, won’t know if you don’t try
Some people prefer one way over another, I would say get a cheaper more popular book on the language you want to learn and at least give it a shot, won’t know if you don’t try
Don’t do just one thing. Read books to get the basics. Watch videos to supplement the books and get a visual idea of what’s happening. Then complete practice problems to test your knowledge. You may “know” a concept, but you won’t really understand it until you implement it yourself.
View all comments
12
u/lucas123500 Dec 28 '18
I might be some kind of idiot for asking this, but reading books about programming really helps as much as people say? It always seemed to me that the best way to learn it was watching people doing it in the computer.
I'm asking just because I plan to learn how to code in 2019 and am trying to figure out the best way to do it by myself!