Just to clarify, I google a lot while coding, but one thing I learnt from my engineering degree is that is there is no ‘best’ solution.

  • x1gma@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    2 months ago

    “Googling a lot while coding” is not even remotely close to vibe coding, please don’t gaslight yourself into that.

    When you read up on things, you know what you’re looking for. You read a potential solution (e.g. part of a documentation, an example, someone else’s solution, a solution to a similar problem), you think about it and transfer that to your own problem, with your own code, with your own thoughts.

    Using AI support is totally fine too - it’s a smarter code completion, nothing more. It might spit out something wrong, something partial, something good. You might ignore it as with the regular completion. In the end, it’s still you thinking about it, modifying it until it works, and doing your thing.

    “Vibe coding” is basically saying tech jesus take the wheel. And it might go well for someone who cannot code, who managed to create their small game or some website. It will go horribly wrong for any project handling user data, sensitive data, or something that needs to be maintained after. We’ve had more than enough examples of that.

    • fckreddit@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      That is why I cannot take vibe coders seriously. There is a fundamental disconnect between what they are trying to achieve and how they are trying to achieve it.

    • fckreddit@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Yup. It is real. There are people who genuinely believe, it is the future of coding. That is why I posted the tutorial. /s

    • jballs@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Wtf, his first step for vibe coding is to turn on a purple light, put on blue blocking glasses and headphones?

      • Flamekebab@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        If you’re referencing the video, I didn’t watch it. It was a serious question because I don’t know whether using LLMs for any large scale coding task is a (terrible but real) thing or an elaborate joke. It’s hard to tell with some of the hideously stupid bullshit that has been happening in the last few years (e.g. NFTs).

        • jballs@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          Lol I didn’t watch it at first either. I was gonna ask you “wtf is vibe coding?” but then figured I should watch the video first.

          Best I can tell is you put on some mood lighting, glasses, and music. Then have AI build a program for you. The guy in the video legitimately thinks this is a solution for getting rid of 80% of your software development team.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Yeah, I also thought it was a meme and used purely in derogatory form, until I learned that the term was actually coined by a co-founder of OpenAI…

    • Pieisawesome@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Yes.

      I “vibe code” anything that is throwaway. If it’s throwaway code I don’t care about the quality, I just want the end result.

      For everything else, I don’t vibe code.

      There are definitely people who use AI as a crutch for their lack of technical skills. It’s the same folks who used to try to get coworkers to “help” and slowly built their tickets by cycling through teammates.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        But like, does that happen often for you, that you need a piece of code that’s gonna be thrown away?

        I always feel like if code exists, it’s not gonna be thrown away, so it’s a good idea to make it maintainable. But I do probably have somewhat of a bias…

      • Domi@lemmy.secnd.me
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        I “vibe code” anything that is throwaway.

        Same here. It’s surprisingly easy to get quick results with a few prompts for one-time scripts without putting any effort in.

  • NotSteve_@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    I use AI for work and personal projects, sometimes even letting it generate file structures for me but damn does it ever need a lot of tweaking after generation to both work and be maintainable.

    I don’t know how anything it spits out even works for those who just purely vibe code since it’s usually either wrong or broken.

  • MTK@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Mark my words, a decade from now vibe coding won’t be a thing because it will literally be calked regular coding and there will like “coding experts” or some shit that would basically be normal programmers that are good at it. And they will be tge only ones that can really solve novel problems.

    Or, AI will actually get to a point of being a real programmer and not a (very cool but still just a) tool.

    But just to cover my bases, it might also be neither.

    Welcome to my TED talk on how to never be wrong!

    • Buckshot@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      I like to think this whole thing will collapse and there’ll be a massive demand for real programmers to clean up/rewrite all the AI slop.

      But your thing seems more likely.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    Would you visit a house built by vibe architecting? Me neither.

    And as soon as the vibe software goes online, your users will not be the only victims anymore.

    • KeenFlame@feddit.nu
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      And who will? You are crediting too much on the idiotic trend. Nobody has successfully used it

  • Lucy :3@feddit.orgBanned
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    And a glorified auto-complete might be part of a solution, but it isn’t the solution itself. And definitely not the best one.

    • fckreddit@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Exactly. It’s like vibe coders are not interested in writing the best code possible. They just want to write the code and not understand what goes on when a program is run.

      • setVeryLoud(true);@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Vibe coders wishfully think AI could be the end product. AI is a tool, it should never be the final product nor exposed to the user.

        It’s a fancy autocomplete to throw ideas against, you still need to know what the fuck you’re doing, and vibe coders have no clue. This means we’re now concerned about a rise in vulnerable code.

        • Lucy :3@feddit.orgBanned
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          As well as unmaintainable code, and in countries with good employment laws and/or employers, extremely unproductive employees. And a whole new generation split between skillful and LLM users.

          • setVeryLoud(true);@lemmy.ca
            link
            fedilink
            arrow-up
            0
            ·
            2 months ago

            That’s right. My concern is also that LLM users may shadow skilled programmers in the short term, potentially devaluing their skills or putting some of them out of a job, at least until the LLM-built code starts shitting itself and they crawl back to actual programmers for help.

            • Lucy :3@feddit.orgBanned
              link
              fedilink
              arrow-up
              1
              ·
              2 months ago

              Look at it positively: Even if many skilled programmers get fired, it’s not like most of us won’t survive. And once the bubble pops, we’re the ones needed the most. Including getting headhunted and good salaries.

      • Lucy :3@feddit.orgBanned
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        I’d guess most of them aren’t even capable of actually writing functional and good code themselves. And never will be.

  • state_electrician@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I saw that my Jetbrains All Product Pack subscription also includes their AI assistant and in Go it’s really able to write and refactor things in a useful manner. But I think a large part is that I’ve been programming for 30 years and I am able to tell the thing exactly what I want and can mention things I do not want and also spot issues. Right now I don’t see how they can manage a complete codebase, which I understand vibe coding to be. There are just so many things than can (subtly) go wrong and AI at the moment is not able to help with that. But they also keep getting better, so who knows where we’ll be in a year or two.

    • cantstopthesignal@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months ago

      We will always have the same problem with computers doing what we tell them, but also not doing what we are not smart enough to tell them.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 months ago

        By definition, it is a markup language, but I have seen recently that it has a few elements that kinda feel like programming.

        Though you do tend to require some JS to complete the logic.


        On the other hand, just because someone uses a non-programming language, does not surely make them not a programmer

        • Dr. Moose@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          2 months ago

          Writing html is absolute programming in 99% of the cases. You program the structure of a web page, even more so if you use templating or integrate structure with js functionality.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 months ago

            program the structure of a web page

            In a loose sense, yes.

            But then someone could also say that when making LATEX templates is programming the structure of the documents.

            I prefer calling it markup, because, even though people might prefer calling it ‘programming’, due to people’s high esteem perception of the word, if you look at it from a neutral standpoint, markup is a word that represents the actual work, much more closely.

            e.g. I use Qt Designer[1] to create UI stuff, and in some cases QML[2] and if I were to only be defining placements, shapes, sizes and colours of elements, I would like to call that part as marking-up the UI [3], while the part where I define functions, timers and connections would be the programming part.


            1. which is a UI to create UI stuff, which creates an XML definition of the final UI to be generated ↩︎

            2. which is based on JS ↩︎

            3. of course I don’t because nobody would understand, but if people did care about the word (and I kinda like the word), it would be more accurate ↩︎

            • Dr. Moose@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              tbh I see a philosophical problem of separating markup from programming. Creating object structures be it in Latex or html is essentially the same thing as creating code objects. Most high level programming is more about structures and “placing things around” than people like to admit and that’s 90% of all programming today.

              • ulterno@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                2 months ago

                Most high level programming is more about structures and “placing things around” than people like to admit and that’s 90% of all programming today.

                Although I’d like to say, “it’s not”, that definitely is what takes up most of my time, even though it ends up being lesser part of the code (thankfully). But a lot of that is UI designing and deciding what might give a better UX, rather than programming.

                Of course, if I were not using a framework, which does all the painting for me, I would always be programming the UI and that would be 90% of my code and 99% of my coding time.
                Also, I would probably take a year to complete a weekly project.


                In my dictionary, programming for the UI elements has been done by those, that created the library that parses the markup language and does the paint events. They also have to manage number of separate draw calls and other GPU efficiency stuff, making it easy to just define most of he placements using markup.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            It’s nice to be the case.

            But doing all the programming in CSS is too hard for a on-shot hobby-site maker like me.