• SubArcticTundra@lemmy.ml
    link
    fedilink
    arrow-up
    84
    arrow-down
    2
    ·
    24 hours ago

    The problem with Claude is that it doesn’t write code to be modular & reusable. Every tiny change requires a complete rewrite.

    • veryblandusername@fedinsfw.app
      link
      fedilink
      English
      arrow-up
      65
      ·
      23 hours ago

      I’ve completely banned any code that can’t be explained. I’ve had my CTO send me code at 3 AM to implement and when I ask him what I’m looking at he just says it doesn’t need review, just push it.

      Uhh, no sir, I’m not doing shit because you’ve handed me GCC and we’re MSVC.

      After I bitched endlessly to the CEO about that he said I have final say on what goes into the project.

      • Noxy@pawb.social
        link
        fedilink
        English
        arrow-up
        25
        ·
        21 hours ago

        I’ve had my CTO send me code at 3 AM

        I hope you don’t even respond until your next normal working hours!

        • veryblandusername@fedinsfw.app
          link
          fedilink
          English
          arrow-up
          15
          arrow-down
          2
          ·
          20 hours ago

          I love my job, even when I have to deal with nonsense like that and I’m compensated very well to be on call 24/7.

          • NocturnalMorning@lemmy.world
            link
            fedilink
            arrow-up
            9
            ·
            16 hours ago

            No amount of money would make me put my health at risk like that. Been there at a job before where I was always working. No thanks.

          • Noxy@pawb.social
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            17 hours ago

            that sets a really bad example. you shouldn’t do that to yourself and you shouldn’t allow it to happen to anyone else.

            • calcopiritus@lemmy.world
              link
              fedilink
              arrow-up
              8
              arrow-down
              1
              ·
              17 hours ago

              He knows best what’s best for him. If he’s explicitly paid extra to be on call 24/7, and he’s happy with that extra. Let him be om-call 24/7.

              There are situations and jobs where 24/7 availability is needed. Someone has to do it. And if that someone believes he’s getting enough of a compensation for it, there’s nothing wrong with it.

              • dethmetaljeff@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                9 hours ago

                Yup, I was on call 24/7… compensated very well and now I’m retired at 43. So, yea I’m going to have to go with letting the dude make his own choice as far as what’s best for him.

      • Nalivai@lemmy.world
        link
        fedilink
        arrow-up
        13
        arrow-down
        2
        ·
        20 hours ago

        With enough seniour developer’s time and dedication you can spend days and enough water to flood a town, so you can badly maybe do something that a junior dev can do already (your shit will still be worse). If that’s not an achievement of a modern technology I don’t know what is.

          • Axolotl@feddit.it
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            edit-2
            10 hours ago

            Unironically Claude (or whatever you use) will almost always deliver code that is shit, it’s just less shit if you prompt it better, LLMs are good to make short snippets if you get stuck tho; And remember to fucking check what the code is and rewrite bad shit

            • Eager Eagle@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              5
              ·
              13 hours ago

              I’ve seen plenty of code in my life, from humans and AI.

              For the past year or so, these agents can code just fine most of the time, as long as they are given enough context (or have the tools to get it). Regardless of how many downvotes I get here, they really are capable of generating decent code. I’m sorry you couldn’t make it work yet.

              • takeda@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                1
                ·
                6 hours ago

                I’ve seen too as I have to review it. AI produces very professionally looking bad code.

                It is so weird to explain, but that’s basically what I see.

                Before LLM I could immediately tell someone’s code is crap, now I have to spend a lot of time trying to understand what it does to reach the same conclusion.

                • Eager Eagle@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 hours ago

                  My honest opinion is that it’s bad because a lot of people using LLMs have no standards and push the first thing that seems to work. Be mad at who’s at the driving wheel, not the car.

                  You absolutely can generate crap with agents/LLMs, and like a humans writing, the first draft will probably be subpar or maybe complete garbage. Every new session is a clean slate, that’s why putting effort in the documents guiding it is so important.

              • Eheran@lemmy.world
                link
                fedilink
                arrow-up
                4
                arrow-down
                4
                ·
                11 hours ago

                But AI bad and human code is so awesome! Better downvote. But seriously, there are people here saying that LLMs can not add anything of value in any way. About as delusional as Republicans.

      • veryblandusername@fedinsfw.app
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        20 hours ago

        It can but I’m not looking to make things even more complicated. We have enough unexplained non-sense in the project as is, having to link it correctly is just endless pain that I don’t want to deal with.