• melfie@lemy.lol
    link
    fedilink
    arrow-up
    57
    arrow-down
    1
    ·
    1 day ago

    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.

    • MinFapper@startrek.website
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      18 hours ago

      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

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      21 hours ago

      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.