Ask HN: Time to read those programming books?

As llm usage becomes the way we all program and reading code becomes more valuable than writing it, what programming books would you recommend to boost this particular skill?

5 points | by blinkbat 19 hours ago

9 comments

  • jjice 18 hours ago
    I find that LLMs can write poorly structured code if not given a good foundation to do so. The existing code in a repo is what the LLM will see and generally output similar code to.

    Given that, I'd recommend the mainstays on good general software design. One of my favorites is "A Philosophy of Software Design" by John Ousterhout. Good general design practices.

    Other than that, I think a lot of books generally stay relevant. If it's topic specific, it'll give you a good background on understanding of that topic so you can make sure you or an agent are making sound decisions. Architecture of course is more valuable than ever.

  • hackermailman 18 hours ago
    Will we even read code once AI just generates platform native executable binaries using a blackbox AI optimized compiler we have no access to?

    Seems we will be writing programs using some kind of logical formal methods[1] and generating the code without ever looking at it and testing the system properties. I imagine AI will make its own intermediate programming language that benefits it the most instead of human readability

    [1] https://forge-fm.github.io/book/2026/

    • platevoltage 12 hours ago
      Has anyone stopped to think why are we doing this to ourselves?
      • Unknown_Unknown 3 hours ago
        Time and cost. Do you prefer riding a horse or driving/flying? It's all about costs and time.
  • vismit2000 7 hours ago
    'Code' by Charles Petzold
  • kooi 18 hours ago
    Design Patterns by Gamma et al.

    Recently helped me solve a non-obvious code-stink design issue.

  • platevoltage 17 hours ago
    Respectfully, I don't understand this way of thinking. You learn and get better at programming by programming. Now we are using LLMs to write the code to the point where we need to assign ourselves homework to keep our skills?

    Why not just use the LLM in a way that doesn't prevent us from absorbing the knowledge?

    • blinkbat 17 hours ago
      yes, you get better _at programming_, specifically your own programs, and in a general sense. but is there a way to hone the reading of code that is not yours?

      > Now we are using LLMs to write the code to the point where we need to assign ourselves homework to keep our skills?

      yes!

      > Why not just use the LLM in a way that doesn't prevent us from absorbing the knowledge?

      the economic viability of this is unproven in our new future.

      • platevoltage 12 hours ago
        > yes!

        I guess my follow up question is why? Maybe my brain works differently (in fact, I know it does), but I don't absorb a whole lot from a book, or a tutorial until I do it myself. I figure I might as well write the code itself, or at the very least, use the LLM iteratively, and make sure I understand every single thing that it writes.

  • vegnus 18 hours ago
    obligatory SICP
  • SwiftQuest 5 hours ago
    [flagged]
  • ayarmots 5 hours ago
    [flagged]
  • jackdavid1991 15 hours ago
    [flagged]