Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programming
  3. Any opinions on "vibe coding"?

Any opinions on "vibe coding"?

Scheduled Pinned Locked Moved Programming
programming
39 Posts 31 Posters 80 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J [email protected]

    Nearly every time I ask ChatGPT a question about a well established tech stack, it's responses are erroneous to the point of being useless. It frequently provides examples using fabricated, non-existent functionality and the code samples are awful.

    What's the point in getting AI to write code that I'm just going to have to completely rewrite?

    mynameisrichard@lemmy.mlM This user is from outside of this forum
    mynameisrichard@lemmy.mlM This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #19

    But it's AI

    1 Reply Last reply
    0
    • ? Guest

      Once companies recognize the full extent of their technical debt, they will likely need to hire a substantial number of highly experienced software engineers to address the issues, many of which stem from over-reliance on copying and pasting outputs from large language models.

      gammagames@beehaw.orgG This user is from outside of this forum
      gammagames@beehaw.orgG This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #20

      A new post-LLM coding opportunity: turd polishing

      1 Reply Last reply
      0
      • K [email protected]

        I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

        Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

        undercoverulrikhd@programming.devU This user is from outside of this forum
        undercoverulrikhd@programming.devU This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #21

        So you mean debugging then?

        1 Reply Last reply
        0
        • ? Guest

          This seems like a game you'd do with other programmers, lol.

          I can understand using AI to write some potentially verbose or syntactically hell lines to save time and headaches.

          The whole coding process? No. 😭

          H This user is from outside of this forum
          H This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #22

          You can save time at the cost of headaches, or you can save headaches at the cost of time. You cannot save both time and headaches, you can at most defer the time and the headaches until the next time you have to touch the code, but the time doubles and the headaches triple.

          ? 1 Reply Last reply
          0
          • K [email protected]

            I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

            Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

            T This user is from outside of this forum
            T This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #23

            For personal projects, I don't really care what you do. If someone who doesn't know how to write a line of code asks an LLM to generate a simple program for them to use on their own, that doesn't really bother me. Just don't ask me to look at the code, and definitely don't ask me to use the tool.

            1 Reply Last reply
            0
            • J [email protected]

              Nearly every time I ask ChatGPT a question about a well established tech stack, it's responses are erroneous to the point of being useless. It frequently provides examples using fabricated, non-existent functionality and the code samples are awful.

              What's the point in getting AI to write code that I'm just going to have to completely rewrite?

              H This user is from outside of this forum
              H This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #24

              There's one valid use-case for LLMs: when you have writer's block, it can help to have something resembling an end product instead of a blank page. Sadly, this doesn't really work for programming, because incorrect code is simply worse than no code at all. Every line of code is a potential bug and every line of incorrect code is a guaranteed bug.

              I use an LLM with great success to write bad fanfiction though.

              1 Reply Last reply
              0
              • K [email protected]

                I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                O This user is from outside of this forum
                O This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #25

                We should let these twits enjoy their shit on twitter. The AI hype is just like the crypto hype, it'll fade.

                The name vibe coding sounds like a drunk evening with friends getting an MVP off the ground, but nothing more.

                Anti Commercial-AI license

                1 Reply Last reply
                0
                • S [email protected]

                  If you don't write a single line then you aren't coding

                  ? Offline
                  ? Offline
                  Guest
                  wrote on last edited by
                  #26

                  Yup, sure, but this is basically a "no true scotsman" argument, which isn't at all what the "AI" hype is about.

                  Put yourself in the shoes of some naive corporate exec. You want the software to get made, but you don't want to pay for it. To you, people (especially experts like programmers) are an expense. You'd very much like to skip that pesky part and go straight from an idea to the product. This is what the "AI" hype is largely about.

                  "AI" companies are trying to set up a narrative, in which programmers can be replaced with LLMs. Execs don't care whether you're coding or not - they care about expenses and profits, and they know a team of programmers is more expensive than an OpenAI subscription.

                  S 1 Reply Last reply
                  0
                  • ? Guest

                    Yup, sure, but this is basically a "no true scotsman" argument, which isn't at all what the "AI" hype is about.

                    Put yourself in the shoes of some naive corporate exec. You want the software to get made, but you don't want to pay for it. To you, people (especially experts like programmers) are an expense. You'd very much like to skip that pesky part and go straight from an idea to the product. This is what the "AI" hype is largely about.

                    "AI" companies are trying to set up a narrative, in which programmers can be replaced with LLMs. Execs don't care whether you're coding or not - they care about expenses and profits, and they know a team of programmers is more expensive than an OpenAI subscription.

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #27

                    I don't want to be put in the shoes of a greedy corporate exec but i can put myself in the shoes of a non developer wanting to create an app for his own need, so i understand why some people may need AI for that. I'm ok with that but that is not coding

                    1 Reply Last reply
                    0
                    • K [email protected]

                      I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                      Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                      A This user is from outside of this forum
                      A This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #28

                      As an experiment / as a bit of a gag, I tried using Claude 3.7 Sonnet with Cline to write some simple cryptography code in Rust - use ECDHE to establish an ephemeral symmetric key, and then use AES256-GCM (with a counter in the nonce) to encrypt packets from client->server and server->client, using off-the-shelf RustCrypto libraries.

                      It got the interface right, but it got some details really wrong:

                      • It stored way more information than it needed in the structure tracking state, some of it very sensitive.
                      • It repeatedly converted back and forth between byte arrays and the proper types unnecessarily - reducing type safety and making things slower.
                      • Instead of using type safe enums it defined integer constants for no good reason.
                      • It logged information about failures as variable length strings, creating a possible timing side channel attack.
                      • Despite having a 96 bit nonce to work with (-1 bit to identify client->server and server->client), it used a 32 bit integer to represent the sequence number.
                      • And it "helpfully" used wrapping_add to increment the 32 sequence number! For those who don't know much Rust and/or much cryptography: the golden rule of using ciphers like GCM is that you must never ever re-use the same nonce for the same key (otherwise you leak the XOR of the two messages). wrapping_add explicitly means when you get up to the maximum number (and remember, it's only 32 bits, so there's only about 4.3 billion numbers) it silently wraps back to 0. The secure implementation would be to explicitly fail if you go past the maximum size for the integer before attempting to encrypt / decrypt - and the smart choice would be to use at least 64 bits.
                      • It also rolled its own bespoke hash-based key extension function instead of using HKDF (which was available right there in the library, and callable with far less code than it generated).

                      To be fair, I didn't really expect it to work well. Some kind of security auditor agent that does a pass over all the output might be able to find some of the issues, and pass it back to another agent to correct - which could make vibe coding more secure (to be proven).

                      But right now, I'd not put "vibe coded" output into production without someone going over it manually with a fine-toothed comb looking for security and stability issues.

                      1 Reply Last reply
                      0
                      • K [email protected]

                        I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                        Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                        K This user is from outside of this forum
                        K This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #29

                        IMO it will "succeed" in the early phase. Pre-seed startups will be able demo and get investors more easily, which I hear is already happening.

                        However, it's not sustainable, and either somebody figures out a practical transition/rewrite strategy as they try to go to market, or the startup dies.

                        We'll see a lower success rate from these companies, in a bit of an I-told-you-so-moment, which reduces over-investment in the practice, under a new equilibrium, but vibe coding remains useful for super early demos, hackathons, and the like.

                        1 Reply Last reply
                        0
                        • H [email protected]

                          You can save time at the cost of headaches, or you can save headaches at the cost of time. You cannot save both time and headaches, you can at most defer the time and the headaches until the next time you have to touch the code, but the time doubles and the headaches triple.

                          ? Offline
                          ? Offline
                          Guest
                          wrote on last edited by
                          #30

                          AI can type tedious snippets faster than me, but I can just read the code and revise it if needed.

                          1 Reply Last reply
                          0
                          • K [email protected]

                            I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                            Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                            G This user is from outside of this forum
                            G This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #31

                            Somewhat impressive, but still not quite a threat to my professional career, as it cannot produce reliable software for business use.

                            It does seem to open up for novices to create 'bespoke software' where they previously would not have been able to, or otherwise unable to justify the time commitment, which is fun. This means more software gets created which otherwise would not have existed, and I like that.

                            1 Reply Last reply
                            0
                            • K [email protected]

                              I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                              Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                              ? Offline
                              ? Offline
                              Guest
                              wrote on last edited by
                              #32

                              lol wut, asking AI to do the work and then going back and fixing bugs…?

                              To me, vibe coding is pick a project to work on and get building. Very basic planning stages without much design, like building with legos without instruction manuals. I make design decisions and refactor as I code. I certainly get some AI input when I don’t know how to implement something, but I will usually work “blindly” using my own ideas and documentation. I probably visit stackoverflow while vibe coding more than I do chatgpt.

                              1 Reply Last reply
                              0
                              • K [email protected]

                                I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                                Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                                ? Offline
                                ? Offline
                                Guest
                                wrote on last edited by
                                #33

                                I mean, at some point you have to realize that instructing an AI on every single thing you want to do starts to look a lot like programming.

                                Programming isn't just writing code. It's being able to reason about a method of doing things. Until AI is at the level of designer, you can expect humans to have to do the brunt of the work to bring software to life.

                                P 1 Reply Last reply
                                0
                                • ? Guest

                                  I mean, at some point you have to realize that instructing an AI on every single thing you want to do starts to look a lot like programming.

                                  Programming isn't just writing code. It's being able to reason about a method of doing things. Until AI is at the level of designer, you can expect humans to have to do the brunt of the work to bring software to life.

                                  P This user is from outside of this forum
                                  P This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #34

                                  Yeah, there’s also the “debugging is just as hard as writing elegant code” side of things. Vibe coding is largely just putting yourself in a permanent debugging role.

                                  The big issue I see with vibe coding is that you need to know best practices to build secure code. Even if you don’t adhere to them all the time, best practices exist for a reason. And a programmer who doesn’t even know them is a dangerous thing, because they won’t even be able to see what is insecure (until it’s far too late).

                                  Studies have found that vibe coders tend to produce less secure code, but have higher confidence in their code being secure; It’s essentially Dunning-Kruger in practice. I’d have no issue with someone using AI to get the broad strokes down. But then they need to be able to back it up with actual debugging. Not just “I didn’t even bother looking at it. If it compiles, push it to prod.”

                                  1 Reply Last reply
                                  0
                                  • K [email protected]

                                    I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                                    Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                                    S This user is from outside of this forum
                                    S This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #35

                                    I like writing code. Like, physically typing it. It's fun and probably my favorite pastime.

                                    Why would I wanna give that up?

                                    ? 1 Reply Last reply
                                    0
                                    • S [email protected]

                                      I like writing code. Like, physically typing it. It's fun and probably my favorite pastime.

                                      Why would I wanna give that up?

                                      ? Offline
                                      ? Offline
                                      Guest
                                      wrote on last edited by
                                      #36

                                      Lol. I keep saying that programming is great if you enjoy the act of using a computer.

                                      1 Reply Last reply
                                      0
                                      • J [email protected]

                                        Seems like a recipe for subtle bugs and unmaintainable systems. Also those Eloi from the time machine, where they don't know how anything works anymore.

                                        Management is probably salivating at the idea of firing all those expensive engineers that tell them stuff like "you can't draw three red lines all perpendicular in yellow ink"

                                        I'm also reminded of that ai-for-music guy that was like "No one likes making art!". Soulless husk.

                                        L This user is from outside of this forum
                                        L This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #37

                                        Three perpendicular lines are possible in 3D, and saffron is initially red, but becomes yellow when used in cooking. Checkmate!

                                        1 Reply Last reply
                                        0
                                        • K [email protected]

                                          I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

                                          Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

                                          kissaki@programming.devK This user is from outside of this forum
                                          kissaki@programming.devK This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #38

                                          I think calling that vibe coding is a very unfitting term. I haven't seen it called that before.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups