• Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    6
    ·
    9 hours ago

    I could’ve coded in 20 minutes?

    Wrong. They couldn’t. That’s why they’re vibe “coders”, not coders.

  • tiredofsametab@fedia.io
    link
    fedilink
    arrow-up
    7
    ·
    10 hours ago

    One of my teammates used AI (our company heavily encourages it) to write code. It did what it was supposed to and the tests passed, but it was the most ugly and unmaintainable shit ever. For one example, I don’t want to have to untangle a for i = 0; i++; i <= len(foo) {} that has multiple ifs inside that separately increment and decrement the loop counter i when trying to troubleshoot an issue.

  • Ugurcan@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    14 hours ago

    Why the fuck one uses Rick Rubin’s pic for the vibe coder? He’s a legend and he represents whatever AI is not.

  • basketugly@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    12 hours ago

    I have tried vibe coding on a couple small hobby projects and it did not workout in any of the cases, zero out of 4 or 5 ish attempts. It will get you kind of close, but it takes way way too long and it doesn’t work so you are actually just getting started. Are there actually techniques to vibe coding or is this all bullshit? I don’t want to spend more time looking into it…

    • Zarxrax@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      10 hours ago

      I consider myself a bad hobbyist programmer. I know a decent bit about programming, and I mainly create relatively simple things.

      Before LLMs, I would spend weeks or months working on a small program, but with LLMs I can often complete it significantly faster.

      Now, I don’t suppose I would consider myself to be a “vibe coder”, because I don’t expect the LLM to create the entire application for me, but I may let it generate a significant portion of code. I am generally coming up with the basic structure of the program and figuring out how it should work, then I might ask it to write individual functions, or pieces of functions. I review the code it gives me and see if it makes sense. It’s kind of like having an assistant helping me.

      Programming languages are how we communicate with computers to tell them what to do. We have to learn to speak the computer’s language. But with an LLM, the computer has learned to speak our language. So now we can program in normal English, but it’s like going through a translator. You still have to be very specific about what the program needs to do, or it will just have to guess at what you wanted. And even when you are specific, something might get lost in translation. So I think the best way to avoid these issues is like I said, not expecting it to be able to make an entire program for you, but using it as an assistant to create little parts at a time.

  • msprout@lemmy.world
    link
    fedilink
    arrow-up
    56
    arrow-down
    1
    ·
    19 hours ago

    I am so sad that people I know (not you, OP) are using the phrase ‘vibe coding’ seriously now, like it’s some new discipline of coding. It’s a facetious term! The joke is that it’s not real coding! Stop!!!

  • zoey@lemmy.librebun.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    14 hours ago

    This slot just used 20 Watts of power for 3 hours || This GPU just used 2kW to write Hello World in sveltekit.

  • four@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    ·
    17 hours ago

    I think that’s one of the dangers of AI: asking AI is a low-cost action (typing out a question), that has a chance to have big returns (saving you hours of work). It usually isn’t worth it. But sometimes it is, so people keep doing it.

  • jaykrown@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    12 hours ago

    It’s always funny how few people consider that AI might actually help you write better code. Instead, the discussion is reduced to “vibe coding” versus fully manual coding.

  • abcdqfr@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    15 hours ago

    Things go quite well with high order direction and guidance. Don’t have that somewhere? You’ll spend an hour learning and gaining that experience, or you can turn off your high order guidance brain and thrash the llm you haven’t rate limited to maybe work it out in it’s own.

  • BananaOnionJuice@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    9
    arrow-down
    9
    ·
    19 hours ago

    Lol I have been playing with vibe coding on a small project, porting an existing thing. I let it build a lot of stuff without making sure it compiles. So now I’m at the “One more prompt for the bug to go away” stage, on top of that I have to spend a lot of time editing by hand.

    I’m happy this is just a POC side project.