Peak Gemini moment

  • A_norny_mousse@feddit.org
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    1 day ago

    I’m not sure what this is about, but this looks like something my definitely not AI, hell not even a proper IDE, code editor with syntax highlighting could have flagged as well?

    • Cruel@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      19 hours ago

      Yeah, the TS syntax highlighting already saw the problem, as it’s underlined. I just tried to have it fix it real quick (it used Gemini Code Assistant’s quick fix). Trying it a second time actually fixed it, fwiw.

    • qarbone@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 day ago

      Read the images top-to-bottom, left-to-right.

      They used a shortcut to call the LLM to fix an error. The final “fix” was for the model to add a comment after the error saying “this is the error”. It’s about at the level of a real developer leaving a comment to themself saying “FIXME [later]”, instead of just fixing it.