Live data from Hacker News

Ask HN: How do you read programming books?

news.ycombinator.com

71–80 of 84 posts

Re: Ask HN: How do you read programming books?

#71

I'm going to give away the secret of autodidactic learning here. I developed this technique in college. Although there was no such thing as YouTube back then, iTunes etc. I get at least two, preferably three data sources on the same subject. Read them all in Parallel and take notes. Getting multiple perspectives is critical. What works for me is two well-made textbooks and a Youtube series, iTunes university, etc cou…

Can attest.

Learning a music instrument right now, and a combination of youtube, guitar instruction books, and earing music off my music player seems to be the strategy that makes the most gains. That and spaced repetition (5 1-hour practices sessions is better than 1 5-hour practice session)

Re: Ask HN: How do you read programming books?

#72
I treat programming as a language. You understand it by going in hard and not trying to understand. If you learn it by trying to dictionary lookup every word, it's really slow.

Instead, you try to understand the context of a sentence, and then the words back from there.

So what I do is I read the table of contents and intro. Intro usually covers what makes the book different and has instructions on how to use it.

You'll find a few pillars. Like if you're reading an algorithm book you'll see Big O notation mentioned a few times. Focus on those pillars. Spend more time on them.

Maybe from Big O, it will give binary search as an example. Then skim the chapter on binary search and return to Big O until you master it.

You'll transverse the more important parts of the book better this way. Many books are not strictly meant to be linear.

I also recommend transversing content in this way as fast as possible once, in one go. Set aside about an hour to skim the entire book.

You'll get the "skeleton" of the book, what holds it together.

Then you focus on the pillars of the book. And once you're done with that, you can do the rest of the content you skipped.

Once you read something, explain it to yourself differently to prove you've mastered the concept. This might involve doing an exercise on it. If you're familiar with it, just drawing a figure might be good enough.

Also I agree with what the others have said: compare with other books on the topic and make sure it's a good one before you read anything.

Re: Ask HN: How do you read programming books?

#73
post #53

I'm going to give away the secret of autodidactic learning here. I developed this technique in college. Although there was no such thing as YouTube back then, iTunes etc. I get at least two, preferably three data sources on the same subject. Read them all in Parallel and take notes. Getting multiple perspectives is critical. What works for me is two well-made textbooks and a Youtube series, iTunes university, etc cou…

Exactly how I aced high school. And got into MIT. Much less useful to me in college. Even less useful now. I must have 100 programming books in Google drive. The only way to learn something (and certainly programming) at a high level is to force yourself to write down a well- defined, closed-end problem, and then sit down and solve the motherf_____r. You learn what you need to learn, build, and invent along the way,…

This is how I learned most of my mathematics before highschool. I just made up a problem such as calculating the angle which minimizes the time to intercept a slowing rocket which taught me a lot about differentiation.

However, I didn't become amazingly successful in life.

Re: Ask HN: How do you read programming books?

#74
post #53

I'm going to give away the secret of autodidactic learning here. I developed this technique in college. Although there was no such thing as YouTube back then, iTunes etc. I get at least two, preferably three data sources on the same subject. Read them all in Parallel and take notes. Getting multiple perspectives is critical. What works for me is two well-made textbooks and a Youtube series, iTunes university, etc cou…

Exactly how I aced high school. And got into MIT. Much less useful to me in college. Even less useful now. I must have 100 programming books in Google drive. The only way to learn something (and certainly programming) at a high level is to force yourself to write down a well- defined, closed-end problem, and then sit down and solve the motherf_____r. You learn what you need to learn, build, and invent along the way,…

Can you tell which ones? ("100 programming books in drive ")

Re: Ask HN: How do you read programming books?

#75
post #50

I have read ALL the comments below. They are ALL excellent. I have a BS in Engineering, 1976, with only Fortran IV from the card key-punch days. Ugh! Worked on a defense software program and learned JOVIAL and VAX/VMS at work and C and some Unix at home. Prior, I had read Wirth's Algorithms + Data Structures = Programs. Pascal = JOVIAL = ADA. C seemed to have the real power with access to the underlying computer via…

What do you mean by 'sw'?

[deleted]

Re: Ask HN: How do you read programming books?

#77
post #53

I'm going to give away the secret of autodidactic learning here. I developed this technique in college. Although there was no such thing as YouTube back then, iTunes etc. I get at least two, preferably three data sources on the same subject. Read them all in Parallel and take notes. Getting multiple perspectives is critical. What works for me is two well-made textbooks and a Youtube series, iTunes university, etc cou…

Exactly how I aced high school. And got into MIT. Much less useful to me in college. Even less useful now. I must have 100 programming books in Google drive. The only way to learn something (and certainly programming) at a high level is to force yourself to write down a well- defined, closed-end problem, and then sit down and solve the motherf_____r. You learn what you need to learn, build, and invent along the way,…

>The only way to learn something (and certainly programming) at a high level is to force yourself to write down a well- defined, closed-end problem, and then sit down and solve the motherf_____r. You learn what you need to learn, build, and invent along the way, and that survives longer than the original problem.

This is how I've been successful as a self-taught developer.

Re: Ask HN: How do you read programming books?

#78
post #2

Build a mental map of where to find things, and then refer back for details as needed: 1. Skim the whole book. The goal here is to learn basic concepts, keywords, and the structure of the book. 2. Start coding, refer back to the book as I encounter things I don't understand. This works better with paper books, because it's easier to remember where I saw something ("upper corner of left-hand page next to diagram, towa…

Most books I've read for a long time now start with an overview of the book's chapters in the introduction. Particularly advanced books will even tell you which chapters are prerequisites for others, and which ones you can skip for specific topics.

Re: Ask HN: How do you read programming books?

#79
I believe its important to interact or ask your doubts upfront instead of keeping it to yourself. I'm currently reading Haskell and I use freenode irc channel to ask my queries. The channel community is so helpful in clearing my doubts, in fact they could give much more easy / right approach for the problem than the text book solutions.
Post reply on HN