Ask HN: Do you still read clean code and software architecture books?

Now that we have coding agents writing all our code for us, are you still needing to reach out and read books such as clean code and other software architecture books?

I think they are now more important than ever as there is more code being pushed out than one can read to see if it is robust as the agents claim.

12 points | by pelcg 14 hours ago

8 comments

  • NishanStepak 12 hours ago
    I read everything I can get my hands on, sometimes even things I don't understand at all. Occasionally you have to stretch yourself and look at things that don't make sense. Part of working with LLMs is understanding how the programs works, this is different than writing the code. The explanations coming from the LLM have to make sense to you, or you will get garbage or not understand what your applications is actually doing. You have to be able to look at the code and say I understand what this is doing even if you can't write it. A good example of this is if there is a product manager running a team. They have to understand what the code does even if they don't write it.
  • al_borland 13 hours ago
    Agents still seem pretty bad at architecture. I still need to stay very much in control of how something is done, even if I have an LLM write some code here and there.

    For stand-alone bits of code where I don’t really care about the implementation, I will let an agent go wild. But for production code in the legacy code base, not a chance I’m doing that.

  • boricj 13 hours ago
    Just because coding agents can multiply our productivity doesn't mean that we should reduce ourselves to shoddy engineering, on the contrary.

    In fact, I see this as an opportunity to build anew and better. When you're no longer constrained by legacy baggage and constraints, you can collapse layers and introduce new ones that better fit what you're creating.

    I'm doing that in the project I'm working on at work. Being able to redefine how serialization/deserialization fundamentally works and interacts with domain objects is giving us unbelievable expressiveness, not by the amount of code written (in fact, it's heavily factorized across layers that were historically separate), but by exploring new designs paradigms.

    Don't just read these books. Write some new ones.

  • junxuan010189 4 hours ago
    I dont think we still "read" clean code but eh, we still "need" clean code so even Agent can quickly get through it, and ya I think we still read or understand architecture, agent dont convert client's requirments, programmer/engineers does, and I think that might be the value of us at this moment, we do see a lot of people creating application and software etc, but most of them consider it as a "toys" instead of really useful in actual scenario
  • bjourne 13 hours ago
    The only architecture advice you need is write short code and create few files. Now you know why LLMs mostly create mountains of trash.
  • moomoo11 7 hours ago
    you still need to engineer/architect your system so that agents are able to efficiently build modify and test the system.

    an agent that can quickly figure out which responsibility goes where means the next time there's a bug or feature request, that agent then can actually work in an efficient way and get the task done.

    do you want your agents working for 15 minutes or more, constantly regurgitating slop, or do you want your agents working for 5-6 minutes or less?

    just remember, agents are only supercharged when they're driven by someone who knows what they're doing.

    i'm in sf, and i'm always blown away by people whose systems are either dog shit god awful, or whose systems are god tier insanely good.

    it really isn't a flex to spend a ton on tokens or ai compute time, if you're putting out less actual work. ppl who flex like that with mid or worse results are morons.

    my systems are somewhere in the middle i'd say, and i strive to be in the latter group.

  • starwxchen1 8 hours ago
    [flagged]
  • nixonperinchery 1 hour ago
    [dead]