Slashdot Mirror


What Is the Most Influential Programming Book?

First time accepted submitter AlexDomo writes "If you could go back in time and tell yourself to read a specific book at the beginning of your career as a developer, which book would it be? Since it was first posed back in 2008, this question has now become the second most popular question of all time on StackOverflow. The top 5 results are: Code Complete (2nd Edition), The Pragmatic Programmer: From Journeyman to Master, Structure and Interpretation of Computer Programs, The C Programming Language, and Introduction to Algorithms."

18 of 624 comments (clear)

  1. Bah! Pretenders! by leftover · · Score: 5, Informative

    Everyone knows it: Knuth's "The Art of Computer Programming"

    Now get off my lawn!

    --
    Bent, folded, spindled, and mutilated.
  2. The C programming language by drodal · · Score: 4, Insightful

    by  k and r

  3. The One Book All Coders Should Read by SpinningAround · · Score: 5, Insightful

    Is Fred Brook's "The Mythical Man-Month".

  4. The correct order by Mensa+Babe · · Score: 5, Interesting

    The correct order should be:

    1. Structure and Interpretation of Computer Programs by H.Abelson and G.Sussman with J.Sussman
    2. Structure and Interpretation of Classical Mechanics (sic!) by G.Sussman and J.Wisdom with M.Mayer
    3. Operating Systems Design and Implementation by A.Tanenbaum and A.Woodhull
    4. Modern Operating Systems by A.Tanenbaum
    5. The Art of Computer Programming Volume 1 by D.Knuth
    6. The Art of Computer Programming Volume 2 by D.Knuth
    7. The Art of Computer Programming Volume 3 by D.Knuth
    8. The Art of Computer Programming Volume 4 by D.Knuth

    I am sure that The Art of Computer Programming Volume 5 by D.Knuth will be next on the list. I have seriously been counting the years to the estimated 2020.

    I only regret that Gerry Sussman hasn't written more books and hasn't recorded more talks. I will buy everything he writes and I will listen to everything he says. Please, Gerry! If you read this then please drop everything you do and just start talking to the camera. I have watched your every talk and lecture that I could possibly find on the Internet many times - from the 1986 lectures at MIT to your lecture on mechanical watches. I seriously believe that everything you say should be recorded for future generations. I don't know anyone else who can talk about anything at all and I listen breathlessly like I was hypnotized. I'm sure that many people here could say the same. Let this be an open letter to Gerald Jay Sussman: Please write more books and please record more lectures for the sake of the future of computer science. And thank you for your outstanding contribution that you have made so far. It is something that has shaped literally generations of passionate enthusiasts of programming. Thank you.

    --
    Karma: Positive (probably because of superiour intellect)
  5. Most influential on me... by Maljin+Jolt · · Score: 4, Interesting

    John von Neumann: Theory of self-reproducing automata, 1966

    --
    There you are, staring at me again.
  6. K&R C by Doc+Ruby · · Score: 5, Insightful

    The C Programming Language by Kernighan and Ritchie (popularly known as "K&R") is certainly, objectively (puns intended), and probably demonstrably, the most influential programming book. It was a strong, probably primary, influence on every one of the titles suggested in this story. Indeed, it is something like the "ur-text" of modern programming - the vast majority of all programming, since it was first published in 1978. It has influenced programs, programmers and programming books. The influence dependency tree of programming books revolves around K&R.

    I say this despite (or perhaps as demonstrated by) the K&R block brace style, which I abhor. It saves a line to destroy column coherence. And despite popularizing the unitary "var++" (eg. in for() loops), rather than the semantically more consistent "++var". And a hundred other quirks Kernighan and Ritchie infected into programming (and programming books, and thereby programmers). The persistence of which is just part of the ample proof of K&R's paramount influence.

    --

    --
    make install -not war

  7. Demon Haunted World, Carl Sagan by syousef · · Score: 4, Interesting

    ...so you can spot the BS and hysterical religion when some idiot consultant comes up with their new XXX driven development or Agile methodology, or tries to replace on perfectly good framework, set of design patterns or tools with a new one that promises to be the best thing since sliced bread.

    But seriously I think it's important to start kids young. My first books were on Apple IIe BASIC. In those days BASIC was what a lot of kids had access to. I saw LOGO later. I wouldn't change that. I'd change the books and systems I tried to use as a teenager and young adult though - MFC and Windows coding was such a waste of time given where my career went. And I never got far.

    Agree with the previous AC about Mythical Man Month. Love the classic idea of a manager who needs a baby to meet a 1 month deadline throwing 9 women at the problem instead of one woman for 9 months. But I think you can get the gist without reading a whole book about it.

    K&R is iconic, but not a good beginner's book at all, and while it does cover some things in great depth it does leave plenty out and is well dated now. Worth reading, but not first. It's good for understanding how the guts of the machine work but as C has been in decline for some time some of today's new coders will likely never use it.

    I've never actually read Code Complete, but it sounds like a good introduction to a lot of ideas if you've not done a degree.

    --
    These posts express my own personal views, not those of my employer
  8. the Most Influential Programming Book? by MrShaggy · · Score: 4, Funny

    Dianetics.

    --
    I have mod points and I am not afraid to use them.
  9. For me it was: Choose your Own Adventure books by GoodNewsJimDotCom · · Score: 5, Interesting

    I never read any programming book that has helped me significantly. But I remember copying code from magazines on a TI-99 before I knew how to do multiplication. I just copied the code one line at a time, and it either ran or didn't. The best thing I could do was print rockets. I didn't understand anything until I was 12 and got the IF-THEN statement. Once I had that, I was able to write branching games similar to my Choose your Own Adventure Books. After that the world was wide open.

  10. Re:Bah! Pretenders! by Anonymous Coward · · Score: 5, Insightful

    The only CS book where 99% of the people touting it have never read it!

  11. It may seem odd by Arran4 · · Score: 5, Interesting

    It may seem odd but I would say Godel Escher Bach. I can't really think of any other book that I would consider worth while reading at the start of my carear. (I am actually thinking of before my college education.)

  12. Knaster, "How to Write Macintosh Software" by dpbsmith · · Score: 5, Interesting

    No, not very influential outside the Mac community, not all that influential within it. But the as posed here in Slashdot, "if you could go back in time," this is the one, and not because of what it had to say about the Mac, but because it is the only book I've ever read that truly accepts the idea of debugging. Every other book carries the implied notion that you should concentrate on writing bug-free software, and that a good programmer really ought to be able to do it.

    About half of the book was devoted to debugging, and it is my personal surmise that the book was originally entitled "How to Debug Macintosh Software" and that the publishers made him change it. Some might charge that the way Mac software was at the time--A5 worlds, very little RAM to spare, and somewhat finicky memory management--writing Mac software intrinsically required more debugging than other environments. It doesn't matter.

    What matters was that this is the only book I read that honestly and truly embraced debugging as a fundamental and legitimate part of the software development process.

  13. No by edalytical · · Score: 4, Insightful

    Honestly, those are terrible books. If nothing else the signal-to-noise ratio is extremely disproportionate. I mean there are nuggets of good information in the books, but a 1100+ page language tutorial is unnecessary. It would be a stretch to call the series programming books -- let alone "influential" programming books.

    --
    Win a signed Stephen Carpenter ESP Guitar from the Deftones: http://def-tag.com/?r=0008781
  14. BBC Micro User Guide by williamhb · · Score: 4, Funny

    And yet, for others of us, it was our starting book back in the 80's.

    More realistically I think for my generation in the UK, this was our starting book. But in mitigation, expecting six year olds to read Knuth might have been a bit much!

  15. Re:No Indeed good sir by JavaManJim · · Score: 4, Insightful

    Agreed, a little known book for C++ from the ground up. Is an extremely well organized book "Starting Out With C++" by Gaddis. Dietel and Dietel C++ is manageable but its a thicket of information that makes it tough for some (I have gone through Deitel C++ and Dietel Java). There are a thousand books on C++ and probably a thousand squared number of paths to learning C++. Whatever your C++ journey, have fun!

    The C classic is wonderful The C Programming Language Brian Kernighan and Dennis Ritchie.

    Knuth is computer philosophy. Makes your soul shine. Treat it like philosophy, read it at leisure and think hard about every word on every page.

  16. Re:Gang of Four by syousef · · Score: 4, Insightful

    Great book on design patterns, Design Patterns: Elements of Reusable Object-Oriented Software.

    That book may be considered a classic but is one of the poorest presentations of material I've ever seen to recommend to a beginner. It works better as a reference but even then thinking in those terms has a tendency to make you over engineer every damn thing unless you actively apply the KISS principle. A lot of the patterns covered are best shown to newbies with concrete examples rather than in generic theoretical form.

    --
    These posts express my own personal views, not those of my employer
  17. Re:Bah! Pretenders! by TheRaven64 · · Score: 5, Insightful

    Bullshit. I have a PhD in computer science, and I wouldn't recommend TAOCP to anyone. Sure, it covers the material, but it covers it amazingly badly. Knuth manages to take simple concepts and make them incomprehensible. Read pretty much any textbook on theoretical computer science other than TAOCP and you'll learn a lot more.

    --
    I am TheRaven on Soylent News
  18. Re:Gang of Four by TheRaven64 · · Score: 4, Interesting

    The Gang of Four's book may be the most influential programming book, but it's probably done more harm than good. The patterns it describes fall into two categories: so painfully obvious that any programmer with more than a couple of months of experience should have invented them independently, or so obscure that you'll probably never find a real use for them. Unfortunately, once people have read it, they end up designing insanely overcomplicated systems that abuse patterns to death.

    If you really want to understand design patterns, read some of Christopher Alexander's work, not the third-rate derivatives.

    --
    I am TheRaven on Soylent News