A bit different from the audiobook request 2 years ago, as I’m not looking for audiobooks (so it does not have to be nice to listen to, I can see code examples) but regular books you read. Let me know which books helped you out the most, or that you just found fun to read!

EDIT: Thank you to everyone for helping me inflate my reading list! I was wondering what question I should ask to get answers including books on databases, cybersecurity, basically any topic that might fall under “computer science” and not just programming. In hindsight I maybe should have posted somewhere other than Programming and said something other than “Programming book recommendations” if I wanted that, but since I am also interested in programming and software engineering all these books will definitely be eaten soon. Thank you!

Oh, and !books@programming.dev for programming books exists but is sadly not getting much attention.

  • zerofk@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    Kernighan & Ritchie, the C programming language. Yes it’s old, and about one specific language that you may never use. But it’s also very well written and can give good insight into how to tame computers. And it’s short.

    Design Patterns by Gamma, Helm, Johnson, and Vlissides (the Gang of Four). Not so much a book to read as a reference with patterns to at least be aware of.

  • Dunstabzugshaubitze@feddit.org
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    edit-2
    2 days ago
    • Refactoring by Martin Fowler, having patterns to help identify parts of code that could be changed for the better helps a lot.
    • Test-Driven Development with Python, because testing is important and you should atleast have tests in mind when writing you code, even if you dont write them first. I like this one, because it’s very hands-on.
    • Head first java by Sierra and Bates, good introduction to programming with languages that offer object orientation and not as dry as the gang of four book, but definitely aimed at beginners
    • Fundamentals of Software Architecture by Richards and Ford, working as a programmer often means talking with big picture people or being one yourself, and they have their own strange language.
    • Domain Driven Design by Evans, for a similiar reason as Fundamentals of Software Architecture.
    • Neuromancer by William Gibson, because fun is important ;)
    • NostraDavid@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      24 hours ago

      Refactoring

      Once you know how to write code (in any language) it’s important to learn how to rewrite it (into something better)

      Test-Driven Development with Python

      Because manually stepping through your code is a PITA, so it’s better to put that process into code that you can save and re-run without thinking about it.

      Head first java

      Any of the Head First series are great introduction books. Head First Design Patterns is great to learn programming patterns that you can typically re-use in any language :D

      Fundamentals of Software Architecture

      Haven’t read this one, but learning about architecture is important so you can keep your UI, logic and data layers separate, so when you need to replace one layer (like the UI, because the boss wants a refresh), you don’t need to pull out all your hairs due to frustration!

      Domain Driven Design

      I don’t do DDD (at least not consciously), but understanding what a domain is really really important once you need to talk to business people (not something I like, but it’s necessary to write the right code).

      Neuromancer

      “The sky above the port was the color of television, tuned to a dead channel.” is such a banger of a first line. Outdated, because “dead channel” won’t make sense to younger kids, but I bet they’ll get a kick out of learning about how TVs used to be.

      • andioop@programming.devOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        14 hours ago

        Hey, I was going to read that person’s recommendations anyways, but thanks for the explanation of why each one matters :)

      • Dunstabzugshaubitze@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        23 hours ago

        oh, i was not aware that there is a head first just about desgin patterns, thanks for the heads up.

        And Archicture is something that gets more and more important for devs, because it’s likely that the code we write is just a part of a complex system of which we don’t control every part and understanding communication channels and the reasoning behind the setup of the system allows us to write our part in a way that it works well in the bigger thing and not something others (or worse, we) have to work around later.

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    2 days ago

    The single most bestest book that I wish my very first programming teacher would’ve hit me over the head with is “Code Complete 2” by Steve McConnell. I’ve only encountered it a few years into my studies, and time and again I thought: I had to figure this out myself!

    It’s basically a collection of all the things you can consider, or think about, or do or do differently when programming. Nothing in there is revolutionary, and none of it is something you couldn’t come up with yourself, but I found it immensely helpful to have the content laid out in a structured way.

  • solrize@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    2 days ago

    Structure and interpretation of computer programs (SICP) is a classic. It’s readable online or you can get a printed copy.

    • andioop@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I really wish this existed for other languages. Python is really Not It for me. Maybe this book will change my mind. I have heard about it a lot. Either way, thanks for the rec!