• arcine@jlai.lu
    link
    fedilink
    English
    arrow-up
    34
    arrow-down
    1
    ·
    22 hours ago

    The “correct” way to use AI for coding (and anything really) is to ask for explanations / tutorials when you can’t find one online, then learn from that.

    Never let it do something for you. That’s how you lose. If you’re not actively learning, you’re actively rotting, and that goes for life in general too.

    • Hiro8811@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      22 hours ago

      I don’t think that’s a good idea, if you can’t find an explanation online that means that there’s not much info available in which case the best thing would be to ask on a forum, that way other people that look for that info will find it.

      • Shayeta@feddit.org
        link
        fedilink
        English
        arrow-up
        8
        ·
        16 hours ago

        Not really, google results have been just that bad for the last 10 years. I can spend 10min looking for a piece of documentation on something and not find it. Or I can prompt an internet-connected AI and have it spit out links to relevant docs. It’s gotten THAT bad.

    • demonsword@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      7
      ·
      20 hours ago

      The “correct” way to use AI for coding (and anything really) is to ask for explanations / tutorials when you can’t find one online, then learn from that.

      except the “explanation” frequently will be 100% “hallucinated” bullshit

      • takeda@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        People say the best way to see this is asking AI about subject you’re expert of.

        This is not always possible, I had people who said “but I’m not expert at anything”. Another way is to ask them about yourselves. For example if you have reddit account that is has some age, Gemini has deal with reddit and feeds them everything that’s posted. First response might even look good, but continue talking (as it is getting more ridiculous), don’t try correct, you can see how it is making shit up.

        Since they are feeding it with everything lemmy might also work.

      • UltraBlack@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 hours ago

        That’s why I always ask it to cite sources. Basically googld ATP since google is turning to shit and all other search engines still aren’t quite as good

        • frongt@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          14 hours ago

          It could very easily use a completely different or hallucinated source.

          But a lot of LLM products are now providing source links right in the response. I’ve found them useful, and hopefully they aren’t produced just by feeding the text back in and asking for a link.