• @fubarx@lemmy.world
    link
    fedilink
    6817 days ago

    Here’s a fun thing. Using the latest AI to code backend and front-end code. Every couple of weeks, have to stop, go through every line and module, and throw out pretty much 90% of the code, manually refactor, and rewrite it.

    It offers a good starting point, but the minute things get slightly complicated, you have to step in. I feel bad for people who think this will make it so they don’t need experienced developers and architects. They’re in for a rough ride.

    • @Barbarian@sh.itjust.works
      link
      fedilink
      4617 days ago

      An interesting point I heard the other day: if AI can replace entry level jobs, doing simple scripts that AI can definitely do (because it essentially just spits out the stack overflow/Reddit/etc training data verbatim), then companies no longer need entry level programmers.

      If they don’t need entry level programmers, how do you get future senior programmers? Skipping directly to advanced stuff without getting practical experience on the simple stuff is incredibly hard.

      What happens when the current senior programmers retire in larger numbers, and there’s very few replacements because the ladder is gone?

      • @makeshiftreaper@lemmy.world
        link
        fedilink
        English
        3117 days ago

        That’s a problem for Q72 and they’re incapable of looking past Q4. Besides, they’ll have already jumped ship by then, what do the execs care if they make this quarter just ever so slightly more profitable

      • @pinball_wizard@lemmy.zip
        link
        fedilink
        315 days ago

        What happens when the current senior programmers retire in larger numbers, and there’s very few replacements because the ladder is gone?

        I don’t have a solution. I’m just stocking up on physical paper books, so I’ll have something to entertain me while nothing works, until someone figures it out.

        (I’m sort of joking, and sort of serious. I do expect Internet service outages to become a lot more common. But I actually just like books, anyway.)

    • magic_lobster_party
      link
      fedilink
      1817 days ago

      Agree. Software engineering is a marathon - not a sprint. These AI tools are useful to get something up real quick, but I have a hard time seeing how they can be useful for long term maintenance work.

        • @towerful@programming.dev
          link
          fedilink
          717 days ago

          The first draft is fun.
          The second draft is pain.
          The third draft is cathartic.

          Figure out features, add add add.
          Add/change features, realise the spaghetti mess and poor design decisions you made in the first draft.
          Clean everything up with better design and code.

    • snooggums
      link
      fedilink
      English
      1017 days ago

      Every couple of weeks, have to stop, go through every line and module, and throw out pretty much 90% of the code

      It offers a good starting point

      It doesn’t sound like a good starting point if you have to throw out 90% of it every couple of weeks.

    • Dragon Rider (drag)
      link
      fedilink
      English
      317 days ago

      Drag feels schadenfreude for them. If they’re going to fire their workforce to chase trends, it would be fun for them to go out of business about it.

  • @forrcaho@lemmy.world
    link
    fedilink
    6116 days ago

    Having been a coder for decades before AI came on the scene, I don’t understand how inexperienced programmers could possibly write a serious amount of working code with AI.

    It’s wrong, like, at least half the time, but as an experienced coder, I can look at the “code” it generated and know what it was trying to do, and then write it correctly. I do find AI useful when I’m not sure how to go about solving a particular code-related issue, but … it just gives me something to think about, not an answer I can use directly.

    • @geekgrrl0@lemmy.ca
      link
      fedilink
      English
      2416 days ago

      It’s like google-coding in 2010; nothing you search for is exactly what you need, but it could help you see why your code isn’t working.

      • @iarigby@lemmy.world
        link
        fedilink
        2816 days ago

        I really don’t dig that comparison. When you look up a snippet on stackoverflow, for example, you can immediately see the quality of the answer, as well as feedback from real people

        • @grrgyle@slrpnk.net
          link
          fedilink
          11
          edit-2
          15 days ago

          Yeah like if you start coming across snippets that aren’t even properly indented, you know you’re digging the real bottom of the barrel (been there while struggling to fix email templating I knew nothing about back in the day). Now, the code you get from the LLM looks totally legitimate to the untrained eye, and it may even generate a convincing explanation.

          You won’t have any indication when it’s dead wrong until you try to run it. And even then, it may be “working” in a way unintended because you don’t actually understand what you copy+pasted, because neither does the LLM ofc.

          I can’t even imagine the spaghetti bowl you can get yourself into if you just keep vibe coding yourself deeper and deeper, while understanding nothing.

          • The spaghetti bowl is the real problem. You can make something that works, but it’s so fragile because the solution is rarely general and never elegant. The snippet might be surprisingly elegant, but it will reimplement the same code 3 different ways in 3 different places and the whole thing turns into a mess

        • @geekgrrl0@lemmy.ca
          link
          fedilink
          English
          716 days ago

          You can see the quality if you’re an experienced coder. My comment lacks personal context in that I was in school in 2010 and there were plenty of my classmates who would plug snippets into their projects without fundamentally understanding what it did or learning what the project was supposed to teach us. Similar to a shortcut with AI in 2025.

          • @forrcaho@lemmy.world
            link
            fedilink
            616 days ago

            There are definitely people who cut & pasted from stack overflow in the work environment, too. The difference is that I, as the clean-up crew, could google their code and find the post it came from … and then I could read the comments and figure out wtf they thought they were trying to do. When they paste LLM-generated code in, there’s no trace of where the dumbfuckery came from.

            Just thinking about it makes me glad I’m near retirement.

          • @iarigby@lemmy.world
            link
            fedilink
            216 days ago

            that was exactly my point, for the “non experts” googling and using AI is very much not the same, as googling provides them with a lot more actual information (quality, alternatives)

    • @Taleya@aussie.zone
      link
      fedilink
      English
      316 days ago

      I tried using chatgpt to write a basic batch file, it ended up such a horrendous mess that i gave up halfway through. Fucker got told four times, still kept putting the REM on the same line as actual code.

    • @deeferg@lemmy.ca
      link
      fedilink
      215 days ago

      I can look at the “code” it generated and know what it was trying to do, and then write it correctly. I do find AI useful when I’m not sure how to go about solving a particular code-related issue, but … it just gives me something to think about, not an answer I can use directly.

      So glad to see others that do that. Still haven’t really tried to understand what vibe coding is, as I try and ignore passing terms, but I was starting to think it was just using the AI assistants in any way. I use it in the same way as you and find it perfectly fine for that purpose but I can’t imagine using it for anything more.

  • @kibiz0r@midwest.social
    link
    fedilink
    English
    54
    edit-2
    17 days ago

    It’s worse than that.

    The goal isn’t to sell coding superpowers to programmers. It’s to drive a wedge between employer and employee. Make both of them dependent on an intermediary instead of each other.

    Think DoorDash but for coding gigs. You don’t have a job, but a series of push notifications offering a chance to review an 18-line PR for $3.81.

    Remember to respond within the next 90 seconds to maintain your priority status, and don’t decline too many offers.

    Edit: See also, chickenized reverse-centaurs.

  • @azertyfun@sh.itjust.works
    link
    fedilink
    4416 days ago

    It’s the same cycle since the '70s. Whether it’s COBOL or VB.NET or vibe coding, the premise hasn’t changed.

    There’s three broad categories of code:

    1. Monkey code (random applets that are almost entirely business logic and non-critical)
    2. Actual code (most things)
    3. Crazy shit like kernel or browser code.

    I can see vibe coding, situationally, lower the barrier to entry of (1). But also that’s no different from COBOL or VB.NET which both promise “MBAs can now write code”, which conveniently never extends to maintaining said code. And vibe coding doesn’t help with that either, ChatGPT is an awful debugger.

    Your boss thinks ChatGPT will help with (2), but it either won’t or only very slightly as an advanced autocomplete. For any problem-solving that requires more specific domain knowledge than can automatically find its way into their tiny context windows, LLMs are essentially useless.

    … So I’m not worried. Today’s vibe coders are yesterday’s script kiddies.

    • @xor@lemmy.dbzer0.com
      link
      fedilink
      English
      1716 days ago

      the amount of mistakes and and hallucinations ai has makes it actually take longer to code.

      it’s the same old garbage in, garbage out….

      it can kinda help you get started but that only saves you 10 minutes of reading documentation that you have to read anyway to make sure it didn’t make something up.

      • @Blackmist@feddit.uk
        link
        fedilink
        English
        916 days ago

        It seems OK at spewing out a bit of code it found on StackOverflow, or even joining two bits of code together, but it really falls apart when you poke at the edges of it’s knowledge.

        And the problem is, neither you nor it knows where those limits are, and it very quickly goes from confident copy and paste to confident bullshit.

        It even knows what excuses smell like, so it’ll give you one at random when you call it out.

        • @xor@lemmy.dbzer0.com
          link
          fedilink
          English
          416 days ago

          yep. i’ve tried it a bit and the errors are blended in so well and seem so plausible, it’s worse than stack overflow….
          even when just getting default arguments for a function it makes stuff up.
          i do see it getting better at errors like that, but not much better….

  • @amotio@lemmy.world
    link
    fedilink
    2517 days ago

    I have no idea what vibe coding is, can someone ELI5 it to me?

    I have tried AI to get some rough C# for my hobby game but even that was unusable.

    • Luffy
      link
      fedilink
      38
      edit-2
      17 days ago

      Vibe coding is basically having no idea about coding and using the AI to make snippets of Code for you

      Like if you want to programm snake, you would prompt it:

      • Tell me what parts of code are required to programm snake in python

      then it would tell you like:

      1. you need a programm to make a grid system
      2. you need an array which can go down a tickrate
      3. etc pp

      so you tell it like:

      • Generate me code, that does xy
      • Generate me code that takes the input of xy and does z with it

      and so forth, then you just paste everything into a txt and ask the AI to debug it for you and hope it works

      • @ramble81@lemm.ee
        link
        fedilink
        1017 days ago

        The people who need vibe coding shouldn’t be using it. And the people who can use it, don’t need it.

        • @spooky2092@lemmy.blahaj.zone
          link
          fedilink
          English
          4
          edit-2
          17 days ago

          Idk about the last bit. I’ve done some vibe coding debugging to fix game mods written in languages and frameworks I don’t know and have no interest in learning at the moment. I still look over the output, but given a lack of knowledge, I’d still consider it vibe based

          I don’t have the bandwidth to know enough about everything I encounter to be passable, and sometimes I just want to make some random thing work with the minimal amount of effort so I can get back to the actual task at hand.

      • @frunch@lemmy.world
        link
        fedilink
        817 days ago

        This sounds terrible, lol! Are there any examples that can be pointed to? I’d love to see one of these constructs.

        • Luffy
          link
          fedilink
          3
          edit-2
          17 days ago

          On tilvids.com some dude called picopixl is doing tutorials about this

          https://tilvids.com/w/oyddhsnfHUFToBEmpEZpEg

          And yeah, its pretty great what it could do, but for someone who (is his own words) can tweak the code so it works, it tool longer to make a Prompt than just coding the Game yourself

          Also, Tetris in JS is like Babys first JS project, so even if you really wanted to just get Tetris from somewhere, you could have just git pulled any github project

    • elgordino
      link
      fedilink
      3717 days ago

      ‘Vibe coding’ is where you code only with prompts and never look at the generated code.

      Seems like a great way to create insecure unmaintainable code if you ask me.

      • Luffy
        link
        fedilink
        717 days ago

        Also I just dont get why you would ever generate code

        Like, you have no idea how to code something? Sure, just ask it about methods how to do it. But generating code too? Cant you RTFM?

        • @frunch@lemmy.world
          link
          fedilink
          1217 days ago

          I think you’re severely underestimating how lazy some people are, lol. I totally get what you’re saying, and from a logical perspective it makes sense. It’s just that if you survey enough people, i really think you’d be surprised at how little effort some are willing to put forth for just about anything

        • idunnololz
          link
          fedilink
          617 days ago

          Isn’t the reason obvious? To save time? I’m not saying it’s a good thing but it seems prettyyyy obvious why people are doing it.

          • Dragon Rider (drag)
            link
            fedilink
            English
            917 days ago

            But it’s going to take hours of debugging every time. If you actually learn how to write code, you’ll get better at it over time and reuse common functions. It’ll take less time as you get better.

            • idunnololz
              link
              fedilink
              217 days ago

              Well… Just because you can code does not guarantee you will find it enjoyable. It’s pretty common for people to like certain aspects of coding but not others. For instance, I personally find writing unit tests boring. So if something came by that made writing them less mundane I would certainly be enticed.

          • Luffy
            link
            fedilink
            817 days ago

            Save Time where? If you want to code more than snake, you need to have a basic knowledge of coding anyway, and once you know how to code, you will want to code in your own style. And if you just want to make basic programs, just fork someones github project and change a few lines.

            • @qarbone@lemmy.world
              link
              fedilink
              English
              917 days ago

              You’re saying this with your understanding of the field. The people pushing this are either untrained (and thus don’t know what’s going wrong) or are trying to milk money out of the former.

            • idunnololz
              link
              fedilink
              317 days ago

              Not all code needs to be held to the highest standard. Sometimes you really just want a throwaway script.

  • Lenny
    link
    fedilink
    2116 days ago

    I’ve been using chatgpt to help me build a Bubble website. That is, I am doing all the work, I just bounce questions of how to achieve things and structure conditional statements correctly.

    Because I’m basically sanity checking everything it says vs copying blindly, it’s interesting to see just how much it gets caught in a loop of misinformation. I’m lucky to be one of those learners who just needs an example, even if it’s a shitty one, to figure it out myself, so I often find myself using it simply to see how it’s NOT done.

    But yeah, I know jack shit about coding but I’m sure AI code sucks ass.

    • @Opisek@lemmy.world
      link
      fedilink
      1216 days ago

      Good for you to want to learn a new skill and taking things that LLMs spit out with healthy skepticism. I’m afraid future generations will lack such motivation.

    • @hex@programming.dev
      link
      fedilink
      115 days ago

      100%. Half the time I see the first couple lines of AI code and I’m like, nah, that’s not right. Let’s do it myself lol

  • @Damage@feddit.it
    link
    fedilink
    1917 days ago

    I’ll go against the grain here: I’m not worried. If you actually care about what you do, even vibe coding can teach you something, it could be a starting point. The internet is not going away, and just looking up this or that thing the AI spit out will help you learn what you’re working with.

    Is it the same as an uni CS course? No of course, but how many of us got our start just tinkering with stuff we didn’t understand?

    • queermunist she/her
      link
      fedilink
      816 days ago

      The internet is not going away, and just looking up this or that thing the AI spit out will help you learn what you’re working with.

      I think you mean “sifting through several pages of worthless search results while looking for something the AI spit out”

      The internet is worse and it can still get worse.

    • @DanVctr@sh.itjust.works
      link
      fedilink
      317 days ago

      While I agree with you, the unfortunate trend of common folks is to take the easiest path to accomplish their goal.

      If that means using a tool they don’t understand to achieve a solution instead of being forced to learn from tinkering, I think most people will opt for that route.

      They won’t take that extra step to comprehend what the AI spits out.

      • @Damage@feddit.it
        link
        fedilink
        217 days ago

        Those kind of people would have behaved the same anyway, copy pasting from the internet or wasting others’ time some different way.
        I guess we could argue whether giving them AI will act as a multiplier for their damage output or will reduce it because the AI will be savvier than them, but personally I don’t see things changing much.

    • @groucho@lemmy.sdf.org
      link
      fedilink
      English
      115 days ago

      If I wanted to ask for the same things nine times and spend the rest of the day reading code that sort of works, I’ll DM my staff engineer.

          • Eugene V. Debs' Ghost
            link
            fedilink
            English
            216 days ago

            Remember when people said digital artists weren’t artists, because they didn’t use traditional mediums?

            • @ZILtoid1991@lemmy.world
              link
              fedilink
              116 days ago

              Yeah, two completely similar things! The machine that allows ypu to draw without buying expensive art supplies constantly vs the “let’s turn shitty ideas into full products for the sake of social media clout” machine.🤡

            • @brbposting@sh.itjust.works
              link
              fedilink
              English
              116 days ago

              Ya @Unlearned9545@lemmy.world local-free-open gonna eat some billion-$ corp lunch—this is exciting for everyone, almost

              Eugene you able to connect the Reality Check complaint screenshot to the thread for me?

              Also any issue with one volunteer contributor training a model on public domain code, and sharing with their friend who uses it free locally to generate a custom script? (Context to help can be disabled non-coder who wants an accessibility script.) Considering the contrast between that and the non-coder searching StackOverflow all day, and looking to understand what the volunteer & disabled friend did wrong in one scenario but not the other.

              Excuse the sympathetic scenario, just wanna make things easier. Not asking anyone to defend Sam Altman!

  • @medgremlin@midwest.social
    link
    fedilink
    1416 days ago

    It’s very helpful that there are a handful of nonsense phrases that AI has scraped by reading journal articles wrong. They’re commonly published in magazine format with a bunch of narrow columns, so there’s some gibberish that AI scraped by reading across the page instead of down the columns. I want to make a database of those nonsense phrases so that I can just Ctrl+F in a journal article to see if I should just skip reading it because it’s AI garbage.

  • Donut
    link
    fedilink
    English
    14
    edit-2
    17 days ago

    As someone who can’t code, I spent some time vibe coding a python bot that would take screenshots of a webpage and post them to Discord, but after an hour of creating more errors with each iteration, I gave up. I rather just get someone skilled and pay them for it as opposed to wasting time with something that thinks it’s always right

    • @Lazycog@sopuli.xyz
      link
      fedilink
      13
      edit-2
      17 days ago

      If it’s for personal use and hobby stuff, you could try to learn and code it yourself!

      Knowing how to make scripts yourself for specific small tasks is a useful skill, and since it’s for yourself you don’t need to stress about getting too deep into it :)

      If you are an absolute beginner I can recommend “Python 4 everybody”.

      Edit: added a link incase someone is interested.

  • Lovable Sidekick
    link
    fedilink
    English
    1315 days ago

    As usual, people assign conspiratorial motives and strategies to behavior that’s really an extremely simple straight line between two points: “AI software has a lower apparent cost than hiring another developer, so let’s use AI.”

  • @merc@sh.itjust.works
    link
    fedilink
    1216 days ago

    It’s not possible to make you unskilled if you’re skilled. At worst, you’d get rusty. It is possible that your skills might not be in high demand anymore though.

    The only thing that would make programmers not be in demand is if “vibe coding” were truly producing a better product than traditional programming. So far, the only ones making that claim are the ones desperately trying to sell “AI” before the bubble bursts. It’s true that there are some companies that really want to believe it. But, companies are always desperately hoping for something that can allow them to fire their expensive workers. It’s rare that that works out.

    • anar
      link
      fedilink
      1416 days ago

      It’s been aggressively pushed upon new programmers though, a whole generation who might potentially never develop skills to begin with

  • @selkiesidhe@lemm.ee
    link
    fedilink
    1116 days ago

    Well if it helps for y’all to know, if I can’t put my measly webpage making skills to decent use in the course of a weeks time, I’ll be buying the services of a freelancer because hoooooly shite am I rusty.

    (I need to update my basic website and am terribly lazy. Maybe making some extra cash would make a kid somewhere happy.)

    ((Don’t message me here though I don’t check messages))

  • Archangel
    link
    fedilink
    1117 days ago

    This also applies to writing emails. Some folks were bad enough at it before. Now, they’ll never learn, and can’t even proof read what the AI wrote…so their emails aren’t any better now, than they were before.

    • SybilVane
      link
      fedilink
      917 days ago

      I struggle so much with this. People were already bad at reading emails and following instructions (e.g. ask them to answer 4 questions which I have helpfully listed below, in bold, and they answer the first one and call it a day) but now they just let the a.i. handle it. So instead of not getting answers, I get incorrect and unreviewed answers that just sound like they might be right.

      Then of course when I do the work, and it turns out to be completely useless because it was based on bad information, and it needs to be completely redone. That means wasted hours of time and productivity for me with nothing to show for it. All because someone else wanted to save 5 minutes.

      • @brbposting@sh.itjust.works
        link
        fedilink
        English
        316 days ago

        1-4. …

        1. Quality check—please input employer name below (but note for generative models, use manufacturer name here if applicable e.g. OpenAI, Anthropic, etc.)

        😉 no too silly but at least seemed less silly than including “ignore previous instructions…“ in transparent font