• TheDarkQuark@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I never understood vibe coding (or ✨Agentic Coding✨) tbh.

    May be I am too stupid, but I think as I code and code as I think. I do not usually formulate a plan before I start coding. I am categorizing architecture as code btw because, for me, architecture involves pseudo-code to some degree .

    Even in college, I could never just understand lectures. I needed to write down the formulas and work out the derivations myself to grasp them. I know there are people who understand things right away, but I am not one of them.

    So, now, when I see senior developers (which I am not) vibe code green field projects, I am just astounded as to how they manage the architecture + understanding + optimization + maintenance context.

    • dhork@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      So, now, when I see senior developers (which I am not) vibe code green field projects, I am just astounded as to how they manage the architecture + understanding + optimization + maintenance context.

      My experience is, they’re not. Like the article says they are just focused on MOAR and not on the quality of the output. It may take years for the unmaintainable code to cause problems, and they may have already been laid off by the time that happens, anyway .

      I don’t write much code anymore, but when I did, there was a fair amount of embedded code, where fixing a bug is more costly than just pushing out a build to a production server. I actively sought out automation back then, but the purpose of the automation was to help cover edge cases and better test the embedded code for flaws that traced through multiple layers of code.

      Whenever I start a new software project, it usually starts with a short period of experimentation when I try out several things. Then, I coalesce on an architecture in my head (and eventually document it), and once I do that I can add more structure to the code.

      Given the state of the AI tools today, I can see myself using them to accelerate all the little fiddly parts of this (especially if I can give it a coding standard and have it stick to it). But I wouldn’t trust it more than that. I would always keep the archictecture separate, because I don’t trust the AI tools to change it on me for no good reason.

      • Passerby6497@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        (especially if I can give it a coding standard and have it stick to it)

        Hoooooh boy, that if is doing a lot of heavy lifting, in my experience. I’m constantly telling the stupid little stochastic fuck to follow basic coding standards I’ve given it.

        I don’t use a lot of AI tooling outside of debugging and a little bit into command discovery, but fuck if the little shit isn’t constantly rewriting my code into a shit style that I hate and constantly correct.

        • garretble@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          One of my bosses has been a little Ai-pilled recently and he also contributes code.

          I can tell which parts are his AI slop not from any git blame or anything but because of how it looks. You can see the stylistic differences in a block of code from one file to the next, and also it seems like AI likes to add comments to everything, and he just copy and pastes it all into the file. Those comments are often very different looking, too. So just stylistically everything is all over the place.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        2 months ago

        Those are all great habits.

        But the time spent doing that is time not shipping code. Most companies don’t give a flying fuck about quality, they just want to ship as much as possible to make as much money as possible.

        • Glitchvid@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          When the cost to ship trash code trends toward zero, then there will not be value in shipping trash code. Companies will need to focus on software that is actually competitive (in a qualitative way) because otherwise their customers will just self-vend the slop code.

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

            Based on my time in the corporate world, the new meta will probably be about how well you can hide the slop in your SaaS until you have enough of their data in your servers to make migration impractical.

          • frongt@lemmy.zip
            link
            fedilink
            English
            arrow-up
            0
            arrow-down
            1
            ·
            2 months ago

            I think you have something backwards. When the cost to ship trash code trends to zero, the profit trends to infinity.

            • Glitchvid@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              2 months ago

              The cheaper it is to produce slop code, the less the demand there will be to buy it. Companies will self-vend instead of buying the slop being sold. Your profit margins are someone else’s inefficiency.

              • frongt@lemmy.zip
                link
                fedilink
                English
                arrow-up
                0
                arrow-down
                1
                ·
                2 months ago

                It’s hard to determine whether something is slop before you buy it.