Slashdot Mirror


A Programmer's Bookshelf

An anonymous reader writes "With christmas just round the corner I have been looking for gifts for my geek friends. But what book? I recently found a simple page with one person's bookshelf and explain what's good and what's not. What do you think? Whats on a programmer's bookshelf? (or what should be and is not!)"

32 of 362 comments (clear)

  1. first post by themusicgod1 · · Score: 5, Informative

    goedel escher bach d:

    --
    GENERATION 26: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
  2. And just as importantly... by tcopeland · · Score: 4, Funny

    ...do you group your books by color or by topic? Especially the O'Reilly books... does the Sendmail one go in your "mail server" books? Does the pink Python book go next to the pink CVS book or next to the red and white Ruby book? Decisions decisions!

    Nice to see that he's got his Knuths... although, if he's like me, they get opened about twice a year.

    1. Re:And just as importantly... by tcopeland · · Score: 3, Funny

      The first 30-40 pages of mine are fairly wrinkled... the last 500 pages are as fresh and as clean as the day they were purchases. Ah well.

      Now here's a fine tome. I hear the author is a really cool guy, too.

  3. Frederik Brooks by rassie · · Score: 4, Informative

    The Mythical Man-Month by Frederik Brooks (clicky) has some very good insights which still hold true (the book was originally published in 1975).

  4. There are so many options by koltrane · · Score: 5, Informative

    It's hard to be specific when "a programmer" could write in a number of languages. Regardless, just about anything from O'Reilly is well worth the shelf space. I still have my original copy of "The Whole Internet"!

    1. Re:There are so many options by Klivian · · Score: 4, Insightful

      More importantly a copy of K&R should be in every programing book authors shelf.

      the clear writing style and tidy code snippets are an example to all.
      Exactly and I wish other writers could emulate that approach rather than trying to write as many pages as possible. Take any C++ book and compare the section about the basic datatypes to K&R, usually 5 to 10 times the number of pages and K&R are still easier to understand.

      And it's not only programming books, you find the similar style in other fields of science too. And it's rather consistent, making me believe that most American publishers of technical books pays their authors at a per page ratio.

    2. Re:There are so many options by An+Onerous+Coward · · Score: 4, Insightful

      Well of course it's worth its shelf space. The thing is about a third of an inch thick!

      For those just tuning in, "K&R" is shorthand for Kernighan & Ritchie's "The C Programming Language," and it really is a great little book. However, part of the brevity and clarity comes from the C programming language itself. Try writing a similar book about C++, and even with the same eye for brevity, you'd end up with a book five or six times as long. Ten times if you threw in the STL.

      Some people have claimed that this book should be required reading for programmers. Others have countered that the book should be required for authors of programming books. Let me take it one step further and suggest that it should be required reading for authors of programming languages. If the language you're designing cannot be effectively and similarly summarized given the K&R treatment, then it may be worth it to simplify things.

      I've become a huge fan of Python recently. As proponents claim, it's one of a very small handful of languages where you can keep the entire syntax in your head. I'm not claiming that Python is the ideal language, but merely that other programming languages should strive for similar simplicity.

      --

      You want the truthiness? You can't handle the truthiness!

  5. 3 names, "Gödel, Escher, Bach" by eldavojohn · · Score: 4, Interesting

    GEB is simply amazing and really makes you think. It is a large tome but it was well worth the read when I read it in high school. It influenced me musically, mathematically and gave me insight to become a computer programmer.

    It's a very common book and can be acquired cheaply on amazon, ebay and the wiki.

    I also heavily recommend getting to know this site if you're willing to search through lists of books for good deals.

    --
    My work here is dung.
  6. Gifts for Christmas by ATeamMrT · · Score: 4, Insightful
    With christmas just round the corner I have been looking for gifts for my geek friends. But what book?

    Just because your friend is a geek does not mean a book is the best gift! Picking tech books can be difficult. You need to know what your friend is interested in. If your friend knows the topic a book covers, it won't be useful. If the book is outside the scope of what your friend does, the book won't get used. Even within a language, there are so many topics that just because you hit the right language, does not mean the book would be useful. If you want to get a book, but a cheap $7 trashy novel that will be filled with laughs, and add a $50 gift card at your local bookstore. That will probably be cheaper than some of the $70 books out there. The cool thing about giving the $7 novel is you're giving a piece of yourself. It should be a book that made you laugh and think. I'd suggest Catch-22. It will provide lots of laugh out loud moments. You should pick a book you liked and want to share with your friend.

    Christmas is not about gifts or materialism. Christmas is about celebrating the birth of Christ. Spend time with your friends, listen to how their life is, their year. Celebrate with them. Be happy. That is the greatest gift you can give. People don't need more objects. People need to feel loved.

    1. Re:Gifts for Christmas by LWATCDR · · Score: 3, Interesting

      Hey I have some books on my wish list.
      I do understand your thought. For a good Christmas gift might I suggest a Salvation Army Angel next year. It is too late to get one for this year. You can find a child that isn't going to get much for Christmas and shop for them. My wife and I did three this year. After we finished the first one we noticed they had a lot left and with only two days to go she decided to get two more. For feeling the Christmas spirit I highly recommend it. For the typical poster on Slashdot may I recommend some of Knuth's other books. The Art of Computer Programing is great but his other books might be of more use to a lot of people on Slashdot.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    2. Re:Gifts for Christmas by BoomerSooner · · Score: 3, Insightful

      Christmas is an economic holiday. I celebrate X-Mas but couldn't care less about Christ. The materialism is pathetic though. I use the holiday season to reconnect with family that I've been trying to avoid since the last Christmas season.

      Like it or not Christmas is more commercial than religious. Hell Dec 25th is just a propaganda date to coincide with a previously popular pagen celebration to make Christianity more popular. Christianity just had the best marketing team, why do you think Islam is popular? Same reason, good sell job.

      If I had to chose a religion I'd probably be Buddist. They have some strange BS as well. It's sad that people cannot accept that they will never "understand" the meaning of life and just live without the "my religion is better than yours" mentality.

  7. Head First by 't+is+DjiM · · Score: 3, Insightful

    Personally, I like the head first series (head first java and head first EJB) a lot.
    Those books are entertaining and educating at the same time. An ideal Christmas present for yourself :-)

    --
    --Use ant to make .war
  8. Where are the following? by ad0le · · Score: 3, Informative

    C++: The Complete Reference by Herbert Schildt & Thinking in C++: by Bruce Eckel.

    In my opinion, the best c++ books out there.

    --
    My mother never saw the irony in calling me a son-of-a-bitch.
    1. Re:Where are the following? by hibiki_r · · Score: 3, Informative
      I'd not pick any of those two before Effective C++, More Effective C++, Advanced C++ Programming Styles and Idioms or The C++ Programming language. After you've programmed in C++ for six months, all the introductory stuff from the books you mentioned becomes a waste of paper, while the books I listed are still useful to a professional programmer.

      Also, read this excerpt of the alt.comp.lang.learn.c-c++ FAQ:

      6: Why do many experts not think very highly of Herbert Schildt's books?

      A good answer to this question could fill a book by itself. While no book is perfect, Schildt's books, in the opinion of many gurus, seem to positively aim to mislead learners and encourage bad habits. Schildt's beautifully clear writing style only makes things worse by causing many "satisfied" learners to recommend his books to other learners.

      Do take a look at the following scathing articles before deciding to buy a Schildt text.

      http://www.lysator.liu.se/c/schildt.html
      http://herd.plethora.net/~seebs/c/c_tcr.html

      The above reviews are admittedly based on two of Schildt's older books. However, the language they describe has not changed in the intervening period, and several books written at around the same time remain highly regarded.

      The following humorous post also illustrates the general feeling towards Schildt and his books.

      http://www.qnx.com/~glen/deadbeef/2764.html

      There is exactly one and ONLY one C book bearing Schildt's name on its cover that is at all recommended by many C experts - see Q 25.

  9. PARENT NOT OFFTOPIC! by madaxe42 · · Score: 5, Insightful

    Godel, Escher and Bach is a damned good book, and any self-respecting geek should have read it. Twice.
     
    Other favourites include Capital by Marx, Crime & Punishment by Dostoeyevsky, Also Spracht Zarathustra (Nietzsche), The Fountainhead (Rand), The heart of a dog (Bulgakov) and Dubliners (Joyce).
     
    If you're a programmer, the last thing you're going to want to read are code books.

    1. Re:PARENT NOT OFFTOPIC! by ATeamMrT · · Score: 5, Insightful
      Godel, Escher and Bach is a damned good book, and any self-respecting geek should have read it. Twice.

      Other favourites include Capital by Marx, Crime & Punishment by Dostoeyevsky, Also Spracht Zarathustra (Nietzsche), The Fountainhead (Rand), The heart of a dog (Bulgakov) and Dubliners (Joyce).

      Those books are a little heavy to digest. I don't know about most people, but I would not want work as a gift, then to feel obligated to read 700 pages. I've read a few books by Dostoevsky, and they are not christmas books! Christmas should be about having fun, not getting a headache reading.

      If you're a programmer, the last thing you're going to want to read are code books

      I agree. It is like giving your mom a skillet for christmas because she cooks for you.

      Picking the right gift requires knowing your friend. One of the BEST gifts I ever recieved was from a neighbors wife. She is an awesome baker. She filled up a tin with homemade cookies, her daughters helped decorate the tin. It was a gift they put their hearts into. They spent a few hours at my place, it was nice to talk, to listen about their year, and what they were planning for the new year. Fellowship is the best gift.

      I also love getting christmas cards from friends who have moved away. It is a nice way to keep in touch with people.

      Remember, it is the thought that counts. The gift is not important. What is important is someone cares about you.

  10. Obviously missing is... by Advocadus+Diaboli · · Score: 3, Funny

    ... a book like "how do I protect my website from being slashdotted" :-)

  11. Bookshelves by BioCS.Nerd · · Score: 4, Insightful

    I'm just a budding programmer, so my bookshelf is fairly skimpy (5-6 books -- mostly accumulated from class). However it seems to me that you're best to buy books that won't be dated as quickly, such as those that are more conceptual (e.g. design patterns, cookbooks, and Art of Programming type books). For everything else, O'Reilly Safari digital book collections are the way to go. I've found it has taken a little time to get used to not reading books on dead trees, but the convenience pays off.

  12. Garfield by Snap+E+Tom · · Score: 4, Insightful

    > Every good programmer loves garfield?

    I assume the article writer was asking a question. The answer is no.

  13. Re:Nothing by ergo98 · · Score: 3, Insightful

    I don't have anything on my bookshelf. I use google to find programming resources. This saves me from piling up books on very old technologies. It is also easier to search a web site than it is to load the Book On CD and search that.

    While I have several books, I feel the same way. I'm highly suspicious when I walk into a developer's office and see the two dozen ".NET" books on the shelf, the spines giving all appearances of never being violated. This is pretty much par for the course, though : Stock your bookshelf to give the appearance of a professional, when in reality it's just filler that is very unlikely to have ever been read.

    Indeed even many of the "classics" fall under this umbrella. The Mythical Man Month, Peopleware, and Code Complete are fantastic books, and everyone and their brother lauds them, yet if you talk to people you discover that, overwhelmingly, they haven't actually read them: It's just a meme to these people to talk about how great those books are. [Note: They ARE great books. Well, the MMM could have been condensed into a blog entry with little loss of value, and Peopleware could easily have been turned into a couple of blog entries, but nonetheless]

    Sidenote: Many Microsoft Press books come with a CD with an electronic copy of the book for searching and electronic access, as well as sample and promo material. Of course most developers wouldn't know this because they never actually cracked it open.

  14. Joel on Software's Book List by Poeir · · Score: 4, Informative

    Joel on Software posted a very useful book list, which extends more to the management of programming than to any specific language. This makes it more generally useful than yet another C book.

    --
    Sigs are like bumper stickers.
  15. Re:Nothing by indifferent+children · · Score: 5, Funny
    Actually, I do have an O'Reilly CSS book in my drawer, but I never use it (because I cannot search it).

    You do know that books had Indices before databases, right?

    --
    Censorship is telling a man he can't have a steak just because a baby can't chew it. --Mark Twain
  16. The Soul of a New Machine by khendron · · Score: 3, Informative

    This book is on my shelf and is a must read for anybody working in tech.

    It is not a technical book. It is a non-fiction novel about a team of engineers building a mini-computer back in the early 1980s. The book might be 25 years out of date from the technical point of view, but few books capture the essence of the engineer's mind and commitment as well as this one does.

    --
    Life is like a web application. Sometime you need cookies just to get by.
  17. Not to throw cold water on this or anything... by Peregr1n · · Score: 5, Insightful

    I find lo-tech paper books aren't costworthy in today's tech environment - they go out of date too quickly, and are thus resource wasteful (In my area - web tech - anyway). Any reference books I buy in digital form, as this is usually more cost-efficient.

    So for a REAL bookshelf... probably some IT-angled fiction. This is tricky as most authors fail to research tech angles correctly (like Hollywood computers, but not quite as glaringly obvious). Douglas Copeland's Microserfs was OK, and quite entertaining.

    For an intelligent recommended read though, I can't recommend the usual Zen and the Art of Motorcycle Maintenance highly enough. It really makes you think, which is nice. I've been meaning to check out Scott Adam's (of Dilbert fame) God's Debris too. That's free to download by the way. So it might be worth reading a bit and if you like it, you could buy paper copies for your friends.

  18. Book Pool by NaNO2x · · Score: 4, Informative

    I can't believe that in all this discussion no one has even mentioned the site "Book Pool" http://www.bookpool.com/ . This site is one of the most extensive places to purchase any computer books. I'd highly sugest browsing around there if you want to buy new books for a geek.

    --
    Utinam me logica falsa tuam philosophiam totam suffodiant.
    1. Re:Book Pool by williepete25 · · Score: 3, Informative

      And cheaper than most, I might add.

  19. A few must-haves... by Beek · · Score: 5, Informative

    Code Complete by Steve McConnell
    The Pragmatic Programmer by Andrew Hunt and Dave Thomas
    Refactoring: Improving the Design of Existing Code by Martin Fowler
    The Mythical Man Month by Fred Brooks

    The are a few off the top of my head that any programmer should read. I'm sure there are a few others. Most things after that are probably specific to certain areas and interests.

  20. Safari by tclark · · Score: 4, Informative

    I recommend a Safari subscription. It provides online access to everthing by O'Reilly and a number of other publishers. My subscription has saved me huge amounts of time, since I can search and find useful information on all sorts of topics without leaving my desk.

  21. My personal favorites... by mackman · · Score: 5, Informative

    Neither of these I would recommend in general, but they are both excellent books if you are dealing with the subject matter they discuss. They are both enjoyable reads and extremely useful.

    Inside the C++ Object Model by Stanley B. Lippman. Lippman is one of the original authors of CFront (along with Stroustrup), the original C++ compiler which worked by translating C++ into C. This book explains how every C++ feature is implmented by the compiler: virtual functions, multiple inheritence, in-memory object layout, etc. If you are working on projects where the overhead of a pointer de-reference or virtual function call may be too much, then this book is a must read. Even if that doesn't describe you, this is still a suprisingly enjoyable read and will almost certainly help you at any job interviews for C++ programming positions.

    Hackers Delight by Henry S. Warren Jr. This deals entirely with efficient bit twiddling. It has chapters on counting the bits set in a word, finding the first set bit, quick integer square root approximations, etc. Unless you're working with embedded systems or otherwise need assembly-level optimizations, this book just serves to obfuscate your code. On the other hand, it's quite a fun challenge to try to figure out the algorithms without reading the explanations.

  22. Re:Bookshelf? by bhsurfer · · Score: 4, Funny

    Probably the kind that are all stuck together...

    --
    Those are my principles, and if you don't like them... well, I have others.
    Groucho Marx
  23. hold that thought (that "counts") by Anonymous Coward · · Score: 4, Insightful

    >>Remember, it is the thought that counts. The gift is not important. What is important is someone cares about you.>>

    I wish people wouldn't waste money buying me gifts. If they spent five minutes talking to me about something they know I am really interested in, that would be worth far more. The "thought" that counts is a respect for a person. Giving wine to someone who never drinks it, giving lingerie to your wife (instead of asking for her wearing it as *your* present), giving a CD of music reflecting your religion to a couple of atheists, giving candles or "zen rock gardens" to people who aren't interested, checking off the names on a list, that ain't "the thought that counts"-- it's the thought that adds useless junk to an already crowded home!

    I've made the mistake myself in the past. These days I beg people not to give me gifts and (because my wife loves Christmas so much) I put in effort getting stuff for her that reflects her interests, even when I don't like the stuff.

    Everyone else, just give money to charity!

  24. Re:Try "Notes from Underground" by xitology · · Score: 3, Informative

    As an aside my [older] translation begins with "I am a sick man... an angry man... an unattractive man. For whatever reason the newer translation substitutes wicked for angry. Perhaps someone who understands more Russian would know why.

    The Russian word is zloy, which can be translated both as wicked and angry among others. Dostoevsky uses zloy a lot, so the choice is quite significant. I don't know English enough to advise the best choice though.