6 ms·
Ask HN: Best way to take notes when reading a programming book?
I've been reading a thick programming book on C++, trying to dig deeper into the language. I've been taking notes, using a Evernote like program with syntax highlights. I have lots of different notes, titling each one with the name of programming syntax/technique of using the language, but it's really hard to go through it all and figure out exactly what I need when figuring out a programming problem. I want to master the language.
What is the best way to take notes reading a programming book that you spend months reading off and on?
- aepearson 12y agoHonestly. Pencil. Every single programming book I own, that I've actually read, is covered in hand written notes. I also tape post-it notes onto important pages with more notes as bookmarks. It's free. Easy. Random access. Read/write friendly. "No sign-up required".
- japhyr 12y agoThere's a fairly simple annotation technique we teach all of our high school students. - Underline big ideas you come across. - Circle important words or phrases. - Write any questions you have in the margins, as you read. The goal is to have a "conversation with the text" in your head. If you do this well, the process of annotating fades into the background, and just becomes part of how you read. When you go back to that book or section later on, you can quickly get a sense of what stood out to you the first time you read the text. The long-term goal is that people develop their own coding system for reading. It doesn't matter if you underline or highlight, circle or box, etc. What matters is that you develop a system that works for you, that lets you think about the text in different, specific ways as you read.
- TbobbyZ 12y agoI agree this works fairly well with most literature, but I have a hard time imagining how it will work with code and organizing an entire programming language as a whole.
- joeld42 12y agoI find it hard to learn programming that way (though for other stuff I use post-its). My approach is first to skim the whole book, making a mental note of interesting features or ideas I haven't encountered yet, but not really learning them deeply. Then I take a small project and make sure to use all of those features, even if I have to shoehorn them in a bit just for an excuse to use the feature. I will use a programming book more as a reference. Most of these are throwaway projects and don't really end up as useful code, and I don't do this all in one sitting, maybe over the course of two or three weeks here and there.
- skylark 12y agoI also follow this approach. I learn enough to know what I don't know (skimming books, only learning basic syntax). Then I pick a project and learn the rest by Googling for solutions to problems when I get stuck. I find that things don't really sink in until I've actually done the coding - 10 hours of reading books is less valuable than 2 hours of reading books + 8 hours of coding (at least in my experience).
- cotsog 12y agoI'm curious to know what's the program you use to take note?
- TbobbyZ 12y agohttp://lifehacker.com/quiver-is-a-notebook-built-for-programmers-1666752657 http://lifehacker.com/quiver-is-a-notebook-built-for-program...
- deleted 12y ago[deleted]
- LarryMade2 12y agoPost-it bookmarks - lots of em, when I'm coding I just pop through the bookmarks