• 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    51
    ·
    1 year ago

    Maybe it’s because I’m only using it as plan B or C (after the documentation has already failed me), but I have never gotten any usable code out of chatGPT.

    And yet co-pilot is able to finish my code perfectly after I type the first few characters… even though they’re the same model.

    • AmbientChaos@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 year ago

      I think co-pilot works better because it has the context of the whole project for reference when suggesting auto completion. I’ve gotten a lot of unusable junk from it too though

      • JimmyMcGill@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        It can go from great to absolute junk.

        But sometimes I need some weird terminal command and it’s weirdly good at it.

        Also I get a buddy that can put log messages like “AAAAAAAA” all over the place so at least I don’t go crazy on my own

    • dan@upvote.au
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 year ago

      Co-pilot isn’t using the same model. They’re using a model that’s been trained on a LOT of open-source code.

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Not that I’m aware of. Even if the input is public data, the actual training scripts and resulting model tend to be closed-source. Meta’s one of the only major companies I know of to release their models under a somewhat-open-source license.

    • garyyo@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      ChatGPT is amazing for describing what you want, getting a reasonable output, and then rewriting nearly the whole thing to fit your needs. It’s a faster (shittier) stack overflow.

      • chicken@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        I normally have it output toy examples of the syntax I don’t want to bother learning and then remix that into what I need. IMO it’s better than stackoverflow because stackoverflow code is more likely to be not really what you were searching for or not actually run because the author didn’t bother testing it and there’s a typo or something.

    • legion02@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      I go the other way with it. Give me something broken but close and I’ll use the documentation to fix it.