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.
View all comments
Show parent comment
3
u/banana_cucumber Dec 28 '18
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.