How reliable is AI lke ChatGPT in giving you code that you request?

  • @psyonity
    link
    41 year ago

    While it’s pretty decent at coding, it’s often (in my experience) either giving you an overcomplicated way, an outdated way or just completely wrong code.

    What I do really like is that when you ask for a snippet you can easely ask for variations, like: “make it a bit shorter”, “add comments” or “don’t/do use library X”. This allows you to quickly get a few variations that allows you to come up with something of your own.

    On a slightly other note, I’ve been impressed by github Copilot on this subject. While still often wrong, with small things it almost feels like it’s reading my mind while programming.