View http://www.simplyahmazing.com/2013/01/how-i-read-programming-books.html
In the past year and half I’ve been learning Java (for Android), Python and JavaScript (& HTML/CSS) (for web development) and I’ve come to realize that the best way to learn programming from a book or tutorial is to read it 3 times! Yes, read it 3 times!! Reading new content this way has helped understand new languages/concepts well. I’m confident it can help you, a beginner to programming or a certain programming language, maximally absorb knowledge from whatever it is you’re reading.
This actually makes a ton of sense for me. I’ve read my share of programming books but never really felt I was able to grok the material when I went off on my own. Of course it made sense when reading it but there were many times I didn’t realize things had not yet clicked. This approach seems worth a shot.