• RizzoTheSmall@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    I personally find copilot is very good at rigging up test scripts based on usings and a comment or two. Babysit it closely and tune the first few tests and then it can bang out a full unit test suite for your class which allows me to focus on creative work rather than toil.

    It can come up with some total shit in the actual meat and potatoes of the code, but boilerplate stuff like tests it seems pretty spot on.

  • friend_of_satan@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    God, seriously. Recently I was iterating with copilot for like 15 minutes before I realized that it’s complicated code changes could be reduced to an if statement.

  • x00z@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Not to be that guy, but the image with all the traintracks might just be doing it’s job perfectly.

  • penquin@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    If you know what you’re doing, AI is actually a massive help. You can make it do all the repetitive shit for you. You can also have it write the code and you either clean it or take the pieces that works for you. It saves soooooo much time and I freaking love it.

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      That’s the thing, it’s a useful assistant for an expert who will be able to verify any answers.

      It’s a disaster for anyone who’s ignorant of the domain.

    • tunetardis@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      I turned on copilot in VSCode for the first time this week. The results so far have been less than stellar. It’s batting about .100 in terms of completing code the way I intended. Now, people tell me it needs to learn your ways, so I’m going to give it a chance. But one thing it has done is replaced the normal auto-completion which showed you what sort of arguments a function takes with something that is sometimes dead wrong. Like the code will not even compile with the suggested args.

      It also has a knack for making me forget what I was trying to do. It will show me something like the left side picture with a nice rail stretching off into the distance when I had intended it to turn, and then I can’t remember whether I wanted to go left or right? I guess it’s just something you need to adjust to. Like you need to have a thought fairly firmly in your mind before you begin typing so that you can react to the AI code in a reasonable way? It may occasionally be better than what you have it mind, but you need to keep the original idea in your head for comparison purposes. I’m not good at that yet.

      • Ledivin@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 hours ago

        I haven’t personally used it, but my coworker said using Cursor with the newest Claude model is a gamechanger and he can’t go back anymore 🤷‍♂️ he hasn’t really liked anything outside of cursor yet