• tempest@lemmy.ca
    link
    fedilink
    arrow-up
    52
    ·
    2 months ago

    You know what’s funny?

    I use AI to develop software. However when I’m looking for libraries to do things if I see a CLAUDE.md file I have to look and see when it was added and hold it against the library if it’s early in the history.

    It’s like prewar steel.

    I also recognize it’s hypocritical.

      • [object Object]@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        Interesting. I’m unfamiliar with the purpose of that file as originally intended, but if I understand it right, it probably can be used to detect PRs with ai-made code. Tell Claude to write a particular string in every PR, and then reject all PRs with that string.

    • Fushuan [he/him]@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      8
      ·
      2 months ago

      It’s the difference between checking for questions in stack overflow and implementing solutions VS pasting every SO solution blindly until something works.

      I do use autocomplete and ask plenty questions, sometimes even use an agent so it makes small changes that I then review and test, but I would never commit unchecked changes, and a claude.md implies that the AI is coding AND committing without supervision.

      I can’t stress enough how different those scenarios are.

    • Modern_medicine_isnt@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 months ago

      It’s not hypocritical. Because you use AI to code, you know how easy it is to just let the AI do it’s thing and not check it’s work. It’s almost like a sirens song. So you know the odds that a library that was coded with AI probably wasn’t checked by a human. That’s just called experience.

  • drath@lemmy.world
    link
    fedilink
    arrow-up
    42
    ·
    2 months ago

    Positive diff? Pfft, amateurs. If I ever see even a 1000 line PR I’m instantly rejecting and closing it. Learn to code, not generate bullshit.

  • Rothe@piefed.social
    link
    fedilink
    English
    arrow-up
    29
    ·
    2 months ago

    I’m pretty sure the shitty Windows upgrades as of late has been vibecoded as well.

  • MortUS@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 months ago

    I like that this is lowkey a Polymarket Advertisement too. The internet truly is a wonderous place.

  • CXORA@aussie.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    People who share the size of a codechange as a mark of how effective ai coding agents are truly missing the point of code changes.

      • CorrectAlias@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        In college, on the first day of orientation, someone in my class bragged that they wrote 50,000 lines of code for a game that was similar to tic tac toe, emphasizing that he “wrote a lot of code”. A TA told him that it wasn’t a sign that his program was decent and that it really didn’t seem like it should take 50k lines of code to make something as simple as his game.

        He dropped out after the first week of intro to programming.

        • fckreddit@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          That’s nothing, I wrote the code to return if the input is even or not in 1M lines of code.

      • KairuByte@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        And yet I experience it so often. That or “effort points” as the metric being used to determine who all stars are.

        Either as a metric just encourages gaming of the system:

        • Why write one line when I can write the same thing in 20?
        • Why take this one effort point task I think will take three when I can just skip it and grab these one effort points I think will take 20 minutes?

        I’ve been on teams that on the surface didn’t have these metrics matter, but the top effort points achiever got bonuses on the DL.

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          What did you do?? You refacted the code and now it’s better organized but you overall got rid of lines?

          I’ll set up a PMD meeting to help you out of this problem, but fair to say don’t expect a raise or a bonus this year.

      • ViatorOmnium@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        I wouldn’t say PR size is a bad metric, you usually just need yo read it the opposite of how sloppers do it, i.e. the most productive PRs are short and focused.

    • Klear@quokk.au
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      I’m just a hobbyist, but I’m always more proud of commits that remove stuff.

  • RampantParanoia2365@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 months ago

    I think my least favorite part of Lemmy is all the posted screenshots of tweets. It just took me 3 tries to get to these comments.

    What benefit do tweet screenshots serve?

  • fox2263@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 months ago

    I use AI to reduce my overly complex shite and automate making boilerplate stuff I can’t be bothered with.

    I’d never ever just let it run roughshod over the whole code base unattended.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      I just make some shell scripts to automate boilerplate.
      That way, once I have properly debugged it, I know it will give the correct output everytime in the future and I don’t need to keep checking it.