• melfie@lemy.lol
    link
    fedilink
    arrow-up
    70
    arrow-down
    1
    ·
    1 个月前

    One major problem I have with Copilot is it can’t seem to RTFM when building against an API, SDK, etc. Instead, it just makes shit up. If I have to go through line by line and fix everything, I might as well do it myself in the first place.

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      1 个月前

      Or even distinguish between two versions of the same library. Absolutely stupid that LLMs default to writing deprecated code just because it was more common in the training data.

      • StrikeForceZero
        link
        fedilink
        arrow-up
        2
        ·
        1 个月前

        So much this. It’s even more annoying when you fix them and paste it back just for it to ignore it lol.

    • MinFapper@startrek.website
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      3
      ·
      1 个月前

      It will if you explicitly ask it to. Otherwise it will either make stuff up or use some really outdated patterns.

      I usually start by asking Claude code to search the Internet for current best practices of whatever framework. Then if I ask it to build something using that framework while that summary is in the context window, it’ll actually follow it