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

    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
      ·
      4 个月前

      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.

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

      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