Which programming book you just couldn’t stop reading from start to end?
This question is something that I really like to know... did any one have /can tell me about
Programming book related that he/she just couldn’t stop reading from start to end.
My self I was reading a lot of programming books but never as “book” from start to end
Always like reference always half of the book I never opened.
155 comments
[ 3.1 ms ] story [ 195 ms ] threadI learned two things from doing this: 1) PHP is a great language for beginners and 2) The details you read in a book like that won't stick with you forever, and you'll have to use the book as a reference anyways...
This was the first programming book that actually made me laugh at times. The writer's style is wry and very accessible. His strong opinions and commentary kept me glued. Admittedly I didn't read every word but IMHO this is one of the classics.
Ditto for Sedgewick's "Algorithms" book.
I look up the ONE solution I need, read the associated 2-3 pages, and put it away for another few months.
http://www.amazon.com/Java-Good-Parts-Jim-Waldo/dp/059680373...
http://www.amazon.com/PHP-Good-Parts-Delivering-Best/dp/0596...
More recently, _Land of Lisp_. I already knew much of the material, but a very fun read. (Nice stickers, too!) I'd suggest this as a starting point for people new to Lisp, maybe even before _The Little Schemer_ (!).
I read most of chapters 3, 4, and 5 of SICP in one night and the following morning. (I'm on the second pass, doing most of the exercises, and nearly done with chapter 2. I'm taking a break, though.)
_Thinking Forth_, by Leo Brodie et al.
_The Awk Programming Language_ by Aho, Weinberger, and Kernighan.
_Programming Pearls_ and _More Programming Pearls_ by Jon Bentley.
I couldn't put _CTM_ (http://www.info.ucl.ac.be/~pvr/book.html) down, either. It took a while to get through, though - It's quite large. I tend to read two or three books in tandem and switch between them, but I was on that sucker 100% cover to cover. What a wonderful book!
I'm currently reading _Erlang and OTP in Action_ by Logan, Merritt, and Carlsson. I just got it in the mail yesterday, but quite good so far.
Also: When you're reading hard programming books, do the exercises! You don't have to do them all, though at least half is a good idea. It reinforces what you've read, and shows you what you actually know vs. what you just think you do. I tend to read the book first, then do exercises on the second pass.
SICP is astounding. Thoroughly worked through the first three chapters years ago. I'm constantly revisiting the later chapters.
I haven't worked through CTMCP, but that book is written in a lovely, compelling style with eye-opening statements on nearly every page. I'm also also finding that it's the ultimate Clojure book.
Monads aren't that hard, they're just one step too general - at first, it's not clear what their examples have in common. It helped when I realized I'd already written "monadic" code in OCaml and Scheme, and with pipelines in shell scripts. (Getting away from the avalanche of category theory terminology mixed with nonsense about burritos and space suits also helped. The epiphany itself matters, not the stepping stone!) Also, starting with a simpler monad (e.g. Maybe) makes the plumbing clearer.
For interpreters / compilers, I prefer the treatment in EoPL to SICP's. There's an awesome "converting an interpreter to a continuation-passing-style interpreter to a CPS-based compiler" section in (only) the first edition of EoPL.
What really impresses me about CTM is how much deep material it ties together, from all over the place, yet the book is still extremely easy to follow. Somebody just starting in CS could benefit tremendously from reading its take on concepts when their other textbooks stump them. It's one of the most readable textbooks I've seen. (PAIP is another.)
I seriously considered quitting my job or taking a leave so that I could spend a couple of months with CTM and SICP without being distracted by work.
Glad to hear Land of Lisp is fun. It's on my TBR list.
Since the first 2 schemer books can each be read in about a week (they shouldn't be read faster) it's a shame for anyone not to read them.
Incidentally, "NB." is the comment marker in J (http://jsoftware.com/). That makes me smirk.
Books that I've really read and enjoyed:
JavaScript the Good Parts http://oreilly.com/catalog/9780596517748
Coders at Work http://www.codersatwork.com/
Programming Erlang: Software for a Concurrent World http://www.pragprog.com/titles/jaerlang/programming-erlang
On Lisp http://www.paulgraham.com/onlisp.html
The common theme: the authors reflect on the wyhs not just the hows. Programmer personality matters.
You may already have heard of it, as it's a classic in the Ruby community. It feels more like a work of art than a mere programming book, but you'll learn an awful lot while reading it. :)
_Land of Lisp_, for example, teaches quite a bit about the language while still being fun.
Personally I dislike tutorials and the pedagogy that comes along with that style. Even when well done they seem wordy presentation of the trivial and obvious.
Serious computer science books (e.g., Knuth's Art of Computer Programming, Hank Warren's Hackers Delight) take careful reading and study; I read them for pleasure, but it is a different pleasure that I get from, say, a Lee Child's Jack Reacher novel.
I think there are good reasons for this situation. The interesting aspects of programming are complex, involve a deep understanding of multiple levels of abstraction, and require considerable background knowledge. This is incompatible with a mindless read.
Older books aren't necessarily better, but those remaining have been through a generation or two of garbage collection already, making it easier to find the good ones. Excellent books have been published recently, of course (http://www1.idc.ac.il/tecs/, http://landoflisp.com/), it's just easier to find them in hindsight.
Books about parsing techniques* rather than ANTLR (or whatever) specifically, language semantics and implementation techniques rather than an awful 200 lb. Wrox book with a mug shot on the cover, etc. tend to stay relevant for much longer. Rather than reading yet another API guide, check out _The Art of the Interpreter_ (http://repository.readscheme.org/ftp/papers/ai-lab-pubs/AIM-...). Also, CiteSeer (http://citeseerx.ist.psu.edu/) is a gold mine.
I haven't gotten _Hackers Delight_ yet, but it's on my list.
* Recommended: Dick Grune's _Parsing Techniques, a Practical Guide_. Lots of deep content, but would still be worth it for the bibliography alone.
There is something like "Gerry Susman is a research fellow at MIT. Guy Steele is a jolly good fellow".
I was of the same opinion until I read "Programming Pearls" by Jon bentley. The way it opens up a problem statement, thereby making you think is truly fascinating. If you haven't read it, please do.
His 1982 book, Writing Efficient Programs, and the 1981 precursor, Writing Efficient Code, ought to be read by every C programmer. Sadly, they are now out of print and hard to find. Writing Efficient Programs is a breezy tour of the tricks of the trade, but it is a serious list of hints (some subtle, some not) for making efficient programs.
1st time: WTF? 2nd time: the light went on.
[Edit: I've actually posted a short review of it after I finished reading it - http://eli.thegreenplace.net/2010/01/09/book-review-coders-a...]
_Masterminds of Programming_ wasn't very good, though I enjoyed the Chuck Moore interview.
I wish Arthur Whitney had been in _Coders at Work_.
I nominated him but he fell through the cracks. I think the book is weaker for it.
There's a wonderful story (which you probably know but it's worth repeating) that Roger Hui, the J guy, was asked who the best programmer was. He responded by saying that Peggy Lee was once asked who the best jazz singer was and she responded, "You mean besides Ella?" (By analogy, Roger's answer was "You mean besides Arthur?")
I submitted it to HN, as well. (I thought I had already.)
Why do you say this? I thought it was very accessible.
Not sure what you mean by hardcore hacker though, unless you mean....most of the programmers in the book come from an era where assembly code and primitive machines were the only tools they had?
I found the part about L. Peter Deutsch (mostly) giving up programming for music particularly interesting.
Expert C Programming, Peter van der Linden (a decade later).
Effective Java by Joshua Bloch.
1) Metaprogramming Ruby.
2) The Art of Rails.
3) Ruby Design Patterns
4) Services-Oriented Architecture in Ruby
These stick out for me. Even if the last one in the list felt a little "rushed to production", it still covered important topics you won't find anywhere else. Plus I find when a book has typos (either in the text or in the code), that just makes me engage with it a little bit more.
Really? I wasted almost an hour double-checking my code due to a typo in an algorithm in _Programming Collective Intelligence_ (pg. 35, should end in "return num/den", not "return 1.0-num/den".) That's just sloppy. I added it to the errata page (http://oreilly.com/catalog/errataunconfirmed.csp?isbn=978059...).
It makes me feel that while the author's explanations are pretty good, the code samples are rather dodgy. I've switched to looking up the relevant mathematical formulas and converting them to code myself.
when a book has typos, it makes me want to throw it in the fire.
I don't understand your "makes me engage with it a little bit more" reaction, though. I really don't. Could you explain?
Pro C# 2008 and the .NET 3.5 Platform by Andrew Troelsen (there's a newer edition about .NET 4 which I haven't managed to read yet)
2) The Pragmatic Programmer