Hi, I am a computer nerd. I also took a computer programming class and got the highest score in the class, but I never followed up with advanced classes. Recently, I’ve thought of different ideas for software I’d like to try to create. I’ve heard about vibe coding. I know real programmers make fun of it, but I also have heard so much about it and people using it and paying for it that I have a hard time believing it writes garbage code all the time.

However, whenever I am trying to do things in linux and don’t know how and ask an LLM, it gets it wrong like 85% of the time. Sometimes it helps, but a lot of times it’s fucking stupid and just leads me down a rabbit hole of shit that won’t work. Is all vibe coding actually like that too or does some of it actually work?

For example, I know how to set up a server, ssh in, and get some stuff running. I have an idea for an App and since everyone uses smart phones (unfortunately), I’d probably try to code something for a smart phone. But would it be next to impossible for someone like me to learn? I like nerdy stuff, but I am not experienced at all in coding.

I also am not sure I have the dedication to do hours and hours of code, despite possible autism, unless I were highly fucked up, possibly on huge amounts of caffeine or microdosing something. But like, it doesn’t seem impossible.

Is this a rabbit hole worth falling into? Do most Apps just fail all the time? Is making an App nowadays like trying to win a lotto?

It would be cool to hear from real App developers. I am getting laid off, my expenses are low because I barely made anything at my job, I’ll be getting unemployment, and I am hoping I can get a job working 20-30 hours a week and pay for my living expenses, which are pretty low.

Is this a stupid idea? I did well in school, but I’m not sure that means anything. Also, when I was in the programming class, the TA seemed much, much smarter at programming and could intuitively solve coding problems much faster due to likely a higher IQ. I’m honestly not sure my IQ is high enough to code. My IQ is probably around 112, but I also sometimes did better than everyone on tests for some reason, maybe because I’m a nerd. I’m not sure I will have the insight to tackle hard coding problems, but I’m not sure if those actually occur in real coding.

  • pinball_wizard@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 天前

    Is all vibe coding actually like that too or does some of it actually work?

    It’s all like that.

    How bad that is - for you - depends on your patience and your learning style.

    When I use it, my experience usually lets me recognize the mistakes and correct them quickly. So it’s just a lazy convenience. Most of the time.

    I’ve had it make subtle mistakes that cost me significant amounts of time to cleanup after letting the vibe code run for a few minutes.

    I’m aware that particular mistake cost me more time that vibe coding has ever saved me.

    I don’t mind, because my employer is excited about AI right now, and I get paid for my time, and I don’t work unpaid overtime.

    So - to your implied questions:

    Is AI bad at coding?

    Yes. It will get better. But today, it is worse than most people think. Obvious problems are easily fixed. Subtle problems are being released daily all over the Internet to combine to cause headaches later.

    Should you try it, anyway?

    Of course! You’ll learn something and it might do a good enough job for what you need. If you stick with it, you’ll learn enough to do what you need.

    Is vibe coding a better path forward than learning a programming language?

    Absolutely not. If you need to succeed, and had to pick one, learn to code.

    But you don’t have to pick just one approach. And it’s probably impossible to vibe code for long without learning to actually code. Vibe coding is a path toward aware knowledgeable coding. It’s not the only path. It’s not the best path. But it’s still a path. And you can pursue more than one path.

    So I say, Dive in! You’ll be complaining with the rest of us, soon! Maybe together we will make it a bit better.

  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 天前

    Full complex app, forget about it. It’s not going to work.

    Concrete functions or small parts of the program (or maybe a very small project? 50/50 chance. Depending on the complexity.

    For instance I benchmark several LLMs last month, asking them to build a worldle clone for the terminal. Some of them were able to spite the full program in a completely working state.

    For anything larger or more complex I haven’t had any luck. And LLM are mostly used for references and ideas.

  • supakaity@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 天前

    You know those movies where the guy gets 3 wishes from a Genie who takes malicious delight in giving them exactly what they asked for even when they’re super careful like “I want a million dollars, and no I don’t want it stolen from a bank, or anywhere that someone’s going to come after me for having it and oh, it needs to be actual real US dollars in circulation today, and without any tax obligations, the IRS can’t come after me. The SEC can’t come after me.” And when they think finally that they’ve specified everything they possibly can, the Genie summons the money and a big gust of wind blows it all out the window and down the street… Then they need to use their second wish to summon it all back in and shut the window. But then the genie summons it back into the fireplace and it all catches fire, so they have to use their third wish to bring it all out of the fireplace, so the Genie brings it all out, but it’s just ashes…

    Well, okay, there’s probably no movie like that, but that’s what programming with AI is like.

    “Vibe coding” purists define it as “If you know how it works then it isn’t vibe coded”. And those type of coders kinda keep going at it more and more refined until they eventually get some spaghetti code that kinda does what they wanted it to do and heck, It’s close enough, ship it! Then they end up being exploited by some random internet hacker.

    Most of the companies that use “Agentic coding” are using it to perform rapid prototyping or templating, performing repetitive tasks quickly or generally using it like a really dumb junior programmer, that the engineer then takes their code and does the code review / testing (often again using AI tools), followed by a whole heap of fixing up, to make sure it does what it says on the box.

    As stated on other comments, the amounts of money they pay for this kind of AI tooling could easily cost many thousands of dollars a month (in addition to the engineer(s) salary/salaries), but the order of magnitudes of productivity increase for that engineer make it worthwhile. But you need that experienced engineer to make it all work.

    I’m not aware of any companies that are solely using coding agents in isolation to replace engineers completely. I’m sure it’ll happen one day and I’ll probably be forced into retirement at that point.

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 天前

    I don’t even have to read everything you wrote past the question.

    no. no it does not.

    it doesn’t work for many reasons. most of all it doesn’t work when you need to improve or extend the code. handing it over to a new developer also doesn’t work.

    If I ever see another developer vibe code IRL I will relentlessly mock them until HR is forced to get involved.

  • 18107@aussie.zone
    cake
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 天前

    LLMs are great at language problems. If you’re learning the syntax of a new programming language or you’ve forgotten the syntax for a specific feature, LLMs will give you exactly what you want.

    I frequently use AI/LLMs when switching languages to quickly get me back up to speed. They’re also adequate at giving you a starting point, or a basic understanding of a library or feature.

    The major downfall is if you ask for a solution to a problem. Chances are, it will give you a solution. Often it won’t work at all.
    The real problem is when it does work.

    I was looking for a datatype that could act as a cache (forget the oldest item when adding a new one). I got a beautifully written class with 2 fields and 3 methods.
    After poking at the AI for a while, it realized that half the code wasn’t actually needed. After much more prodding, it finally informed me that there was actually an existing datatype (LinkedHashMap) that would do exactly what I wanted.

    Be aware that AI/LLMs will rarely give you the best solution, and often give you really bad solutions even when an elegant one exists. Use them to learn if you want, but don’t trust them.

  • AdamBomb@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 天前

    My bro, your TA wasn’t better at coding because “higher IQ”. They were better because they put in the hours to build the instincts and techniques that characterize an experienced developer. As for LLM usage, my advice is to be aware of what they are and what the aren’t. They are a randomized word prediction engine trained on— among other things— all the publicly available code on the internet. This means they’ll be pretty good at solving problems that it has seen in its training set. You could use it to get things set up and maybe get something partway done, depending on how novel your idea is. An LLM cannot think or solve novel problems, and they also generally will confidently fake an answer rather than say they don’t know something, because truly, they don’t know anything. To actually make it to the finish line, you’ll almost certainly need to know how to finish it yourself, or learn how to as you go.

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 天前

    The exact definition of vibe coding varies with who you talk to. A software dev friend of mine uses ChatGPt every day in his work and claims it saves him a ton of time. He mostly does db work and node apps right now, and I’m pretty sure the way he uses ChatGPT falls under the heading of vibe coding - using AI to generate code and then going through the code and tweaking it, saving the developer a lot of typing and grunt work.

    • TranquilTurbulence@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      3 天前

      I prefer to think of vibe coding like the relationship some famous artists had with apprentices and assistants. The master artist tells the apprentice to take care of the simple and boring stuff, like background and less significant figures. Meanwhile the master artist would paint of all the parts that require actual skill and talent. Raphael and Rembrandt would be a good examples of that sort of workflow.

  • TranquilTurbulence@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 天前

    Vibe coding works, but there are some serious caveats.

    I’ve used LLMs for data visualization and found them helpful for simple tasks, but they will always make serious mistakes with more complex prompts. While they understand syntax and functions well, they usually produce errors that require manual debugging. Vibe coding with LLMs works best if you’re an expert in your project and could write all of the code yourself but just can’t be bothered. Prepare to spend some time fixing the bugs, but it should still be faster than writing all of it yourself.

    If you’re not proficient in using a specific function the LLM generated, vibe coding becomes less effective because debugging can be time consuming. Relying on an LLM to troubleshoot its own code tends to lead to “fixes” that only spawn more errors. The key is to catch these situations early and avoid getting lured into any of the wild goose chases it offers.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 天前

    Concerning the IQ: App development and regular programming aren’t that hard. It needs some time and dedication, and willingness to learn how all these things work and tie together, but I think everyone with an average IQ could do it. It’s specific domains where you need a high IQ, like writing advanced signal processing algorithms. Or write very efficient algorithms or do detailed security audits. But App development is just moderately complex, you can get away with basic math… So I’d say it’s doable. Still needs quite some time and effort though. At least several weeks to months. And the Kotlin book I have has like 800 pages filled with information, and that just takes some time to work through. None of it is magic, though. You do one chapter at a time.

    Vibe coding is overrated IMO. There are applications and clients out there for whom it’s fine if you just do a piss-poor job and throw something together, and it somehow works enough. For a lot of things it’s not advanced enough, yet.

    • electric_nan@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      3 天前

      You don’t have to be a genius to learn programming, but it actually isn’t for everyone. Some people will never “get it” in any reasonable amount of time studying. Don’t ask me how I know!

  • older_code@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 天前

    I have successfully written and deployed a number of large complex applications with 100% AI written code, but I micromanage it. I’ve been developing software for 30 years and use AI as a sort of code paintbrush. The trick is managing the AI context window to keep it big enough to understand its task but small enough to not confuse it.

        • ThirdConsul@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 天前

          Please don’t upvote this person, I think they’re a bot. The libs use AWS SDK internally and claim 90% performance boost over AWS SDK, and the person explains it as “you can write less verbose code so development time is shorter”

        • ThirdConsul@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          3 天前

          Thank you.

          How did you check the performance though for the ORM? You claim it’s faster that AWS SDK, which literally impossible, as you are using AWS SDK to power it.

          • older_code@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 天前

            The code loads faster when using the pen because the code footprint is smaller, DynamoDB in AWS sdk is very verbose, using the library means that verbosity is reduced significantly as you incorporate more tables and indexes.

            It’s been load tested against code using DynamORM and not using it.

            The point is not a few less milliseconds, it’s many hours of reduced development for people implementing DynamoDB

            • ThirdConsul@lemmy.ml
              link
              fedilink
              arrow-up
              0
              ·
              2 天前

              The point is not a few less milliseconds, it’s many hours of reduced development for people implementing DynamoDB

              So you’re comparing claimed performance (execution) gains to development time? Yeah, that makes sense.

              I think you’re a bot.

  • listless@lemmy.cringecollective.io
    link
    fedilink
    arrow-up
    0
    ·
    3 天前

    if you know how to code, you can vibe code because you can immediately see and be confident enough to identify and not use obvious mistakes, oversights, lack of security, and missed edge cases the LLM generated.

    if you don’t know how to code, you can’t vibe code, because you think the LLM is smarter than you and you trust it.

    Imagine saying “I’m a mathematician” because you have a scientific calculator. If you don’t know the difference between RAD and DEG and you just start doing calculations without understanding the unit circle, then building a bridge based on your math, you’re gonna have a bad time.

  • Dr_Nik@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 天前

    People who vibe code are not using free LLMs, they are using custom AI code generation systems they pay subscriptions for. I don’t know which ones work best but I do have a close friend who runs a software company and he just bought subscriptions for all his employees to some system I’ve never heard of because the code it generated drastically sped up their development time.

    • HiddenLychee@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 天前

      A friend of mine is a senior full stack developer and just uses gpt 4o. He makes 300k a year doing it, so it can’t be that bad