• A_Union_of_Kobolds@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    AI is very very neat but like it has clear obvious limitations. I’m not a programmer and I could tell you tons of ways I tripped Ollama up already.

    But it’s a tool, and the people who can use it properly will succeed.

    I’m not saying ita a tool for programmers, but it has uses

    • Emily (she/her)@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      I think its most useful as an (often wrong) line completer than anything else. It can take in an entire file and just try and figure out the rest of what you are currently writing. Its context window simply isn’t big enough to understand an entire project.

      That and unit tests. Since unit tests are by design isolated, small, and unconcerned with the larger project AI has at least a fighting change of competently producing them. That still takes significant hand holding though.

      • franzfurdinand@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        I’ve used them for unit tests and it still makes some really weird decisions sometimes. Like building an array of json objects that it feeds into one super long test with a bunch of switch conditions. When I saw that one I scratched my head for a little bit.

    • Susaga@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Funny. Every time someone points out how god awful AI is, someone else comes along to say “It’s just a tool, and it’s good if someone can use it properly.” But nobody who uses it treats it like “just a tool.” They think it’s a workman they can claim the credit for, as if a hammer could replace the carpenter.

      Plus, the only people good enough to fix the problems caused by this “tool” don’t need to use it in the first place.

      • CeeBee_Eh@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        But nobody who uses it treats it like “just a tool.”

        I do. I use it to tighten up some lazy code that I wrote, or to help me figure out a potential flaw in my logic, or to suggest a “better” way to do something if I’m not happy with what I originally wrote.

        It’s always small snippets of code and I don’t always accept the answer. In fact, I’d say less than 50% of the time I get a result I can use as-is, but I will say that most of the time it gives me an idea or puts me on the right track.