Hello HNers,
When you buy a new programming book, how do you read it? More specifically:
- Do you write the code or just 'compile it on your mind' and go?
- Do you re-read the same chapter over and over again if you feel that you missed something, or you go forward even if you feel something is missing?
- Do you do all the exercises listed at the end of every chapter (this doesn't apply to every book, but most programming books do have exercises)
I'm curious, because usually by 50% of the book I feel that I can do everything I wanna do and my attention drops. I just wanna start my project using book's X framework/language.
ps. I'm generally speaking a slow reader. I've come to the conclusion that I literally read 'slow' and it bothers me speeding up my natural reading rhythm but it also bothers me the fact that my GF usually finished the page/article while I'm still in the middle. On the positive note, I read much more carefully most of the times. I've seen people here stating that they read Flanagan's JS book in 5 days... Which to me seems kinda impossible (if you have no prior DEEP knowledge of JS and OO programming).
Regards :-)
I empathise with you talking about the "natural reading rhythym", I'm a slow reader too, but like to think I also read more carefully than those who get through the pages faster.
In response to the questions:
When its about design, or a more high level subject, for example about testability, I don't usually write much code; the lessons learnt are more abstract. The code tends to require more work in these cases too, and I'm lazy. Having said that, my day job is software engineering, and combined with my side-projects there are plenty of opportunities to try out the new concepts I learn about in such resources - usually within the order of a week. This step is, in my opinion, vital. I believe you must put the concepts into practice at some point in order to truly feel comfortable with them, and the sooner the better while they are fresh in your mind.
Thankfully, in my experience most authors I have read do take the time to add such assurances, so its possible to read in a continuous manner from start to finish.