I liked programming a lot, but with AI and how my company is basically requiring us to use it for AI-first development I’m not enjoying my job anymore…

It feels like forced effort on my part to write design documentation and refine it so the LLM does it the way I want and having to review the prompt continuously opposed to actually solving problems the way I would. Plus things aren’t even supposed to be reviewed until an AI review of the AI code is done… I just feel like I’m supposed to be a rubber stamp on the output. They say that dev/review skills won’t atrophy because you’re always reviewing the code, but I can’t accept that conclusion. I became a better developer by actually problem solving, not reading code to see if it makes sense. It’s all about getting more done and trusting it at a conceptual level now, but not really understanding what’s really going on underneath the AI-gen docs because it’s “so much better than human-generated code”.

I don’t understand or really handle that approach well. I don’t really program outside of work because I want to just hang out with my family after it and it feels like a chore to do my job anymore. I just don’t know how to make myself enjoy that type of workflow they are trying to force onto everyone. Any ideas on how to find something to enjoy with that?

  • 4am@lemmy.zip
    link
    fedilink
    arrow-up
    15
    ·
    2 days ago

    We should be writing the code and the AI should be writing the tests and documentation.

    If I wanted to be a technical writer or a tester; I would have been.

    Sorry to all the technical writers and testers out there. AI sucks.

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        23 hours ago

        Yeah 6 months ago maybe. It can write perfectly good tests now.

        I actually find the more common failure mode is it finds something that doesn’t quite work right (like a bug in a third party component) and it just silently works around it rather than telling you so you can get it fixed. My suspicion is they benchmaxxing makes them try to make as much progress as possible so they’ll do lots of workarounds rather than asking you.

        Another example is when it’s building Rust code for me, it will use a crate that is pulled in as a transitive dependency even if it actually wanted a different one, because it’s sandboxed and doesn’t want to bother me by asking me to run cargo fetch. Quite annoying.

        It doesn’t write vacuous tests though.

        • wewbull@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          16 hours ago

          Yeah 6 months ago maybe. It can write perfectly good tests now

          How are you measuring how good the test is? How do you know it’s a good test?

          I actually find the more common failure mode is it finds something that doesn’t quite work right (like a bug in a third party component) and it just silently works around it rather than telling you so you can get it fixed.

          Why do you think the tests aren’t doing the same thing?

          • FizzyOrange@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            15 hours ago

            How are you measuring how good the test is? How do you know it’s a good test?

            I skim them.

            Why do you think the tests aren’t doing the same thing?

            What you mean like it find a bug and it just writes the test to confirm that the bug exists? In my experience Opus 5.5 will do that but only in an “expect failure” kind of way, to confirm the bug is really there, and it tells you about it.

            Opus 5.5 employs much more rigorous development practices than most humans developers. It isn’t lazy so it will do things like confirming that regression tests detect the bug before it is fixed.

            It’s a huge step up from earlier models, where I would have agreed with all your concerns. Honestly the downvotes and questions along these lines feel a little like someone seeing a train for the first time and asking “but how does it know which way to go?”. Just try vibe coding some Rust with Opus 5.5. It literally costs £18. You can see for yourself.

            • wewbull@feddit.uk
              link
              fedilink
              English
              arrow-up
              2
              ·
              15 hours ago

              No, I’m suggesting it can write a test that avoids the bug because it’s seen the bug. It’s a goal orientated system where the goal is making the tests go green. Sometimes the shortest path is the deceptive one.

              I’ve seen people do it because they didn’t know how to fix a problem. Why should I trust Claude?

              • FizzyOrange@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                11 hours ago

                No, I’m suggesting it can write a test that avoids the bug because it’s seen the bug.

                Oh right, yeah in my experience it doesn’t do that.

                It’s a goal orientated system where the goal is making the tests go green.

                Yeah the old generation models were but the latest generation (Astra and later) don’t do that. Their goal is to make as much progress as possible without bothering the user, as far as I can tell. But they will let you know about genuine problems.

                Why should I trust Claude?

                Great question. From my point of view the reason is the same reason you trust anyone - you keep a close eye on them for a while and they don’t betray your trust.

    • Jo Miran@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      This is exactly how I use it. It does all the code comments, and documentation. I built it a lab on three old laptops (linux, mac and win), and one “powerful” (retired gaming pc) linux system. It builds the environments and tests the living shit out of everything, documenting everything along the way.

      Unfortunately, most people and companies aren’t trying to use it to better the quality of their output, they are trying to increase the speed and quantity of their output.