• SubArcticTundra@lemmy.ml
    link
    fedilink
    arrow-up
    66
    arrow-down
    2
    ·
    11 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
      55
      ·
      11 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
        17
        ·
        9 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
          10
          arrow-down
          1
          ·
          8 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
            5
            ·
            4 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
            4
            ·
            4 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
              2
              ·
              4 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.

          • Axolotl@feddit.it
            link
            fedilink
            arrow-up
            1
            ·
            52 minutes 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; And remember to fucking check what the code is and rewrite bad shit

            • Eager Eagle@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              44 minutes 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.

      • Nalivai@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        2
        ·
        8 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.

      • veryblandusername@fedinsfw.app
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        8 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.