• Hawk@lemmynsfw.com
    link
    fedilink
    arrow-up
    2
    ·
    28 days ago

    They can also be really good for quickly writing code if you line up a whole bunch of tests and line up all the types and then copy and paste that a few times, maybe with a macro in Vim.

    The LLM will fill in the middle correctly, like 90% of the time. Compare it in git, make sure the tests pass, and then that’s an extra 20 minutes I get to spend with my wife and kids.

    • DragonTypeWyvern@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      28 days ago

      And then the one fucking hallucination you missed ends up crashing the whole thing on the weekend.

      On the other hand, you could have done that by accident yourself.

      • Hawk@lemmynsfw.com
        link
        fedilink
        arrow-up
        2
        ·
        28 days ago

        Yeah, that’s always a risk, but as you said, humans make mistakes too. And if you change your approach to software development by writing more tests and using strict interfaces or type annotations, etc., it is pretty reliable and definitely saves time.

    • KillingTimeItself@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      28 days ago

      that’s definitely one of the potentials, if you prefer a schizoprehnic person writing code which you then have to make work. I suppose.

      I’m autistic about things and would write it all myself to my very high standards of “how autistic is it? If the answer is yes, than good enough.”

      if other people look at the shit im doing and say “you could do this better” it’s not done well enough.

      • Hawk@lemmynsfw.com
        link
        fedilink
        arrow-up
        1
        ·
        28 days ago

        Which I can totally understand, but I would like to spend more time with my family and less time writing code.

        This also allows me to iterate faster and identify useful ideas That justify deeper effort.