• Anders429@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Know a guy who tried to use AI to vibe code a simple web server. He wasn’t a programmer and kept insisting to me that programmers were done for.

    After weeks of trying to get the thing to work, he had nothing. He showed me the code, and it was the worst I’ve ever seen. Dozens of empty files where the AI had apparently added and then deleted the same code. Also some utter garbage code. Tons of functions copied and pasted instead of being defined once.

    I then showed him a web app I had made in that same amount of time. It worked perfectly. Never heard anything more about AI from him.

    • A_Union_of_Kobolds@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      3 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
        1
        ·
        3 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.