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

  • rastla@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    It’s certainly helpful when you want to try out something new.
    For example I recently wanted to make a Firefox AddOn, which is something I hadn’t done before.
    So I asked OpenAI how to do it and it talked me through it step by step.

    Basically it allowed me to google less, because I could just ask ChatGPT, as it was faster.
    Some info is outdated or wrong, so you still have to know what you are doing and still have to use Google.

    Also, I wanted it to help me get some data from the DOM, but that was a rather difficult job for OpenAI, it never “understood” what I wanted and just gave me code that didn’t do what it was supposed to do, and even after explaining the problem with the code and telling it what I want, it wouldn’t understand the problem and just give me other bad code that changed nothing about the problem.

    So it’s important to understand, that this is just one more source of information/help you have as a dev. It is not a standalone solution that can do your work for you. It merely can help you. The same way as googling, stackoverflow or reading the documentation helps you