• nandeEbisu@lemmy.world
      link
      fedilink
      English
      arrow-up
      28
      arrow-down
      4
      ·
      1 day ago

      There’s an anecdote that comes up in software about people working on missile software not caring about memory leaks because it’s going to explode anyway before that becomes an issue.

      Who cares about bugs in your software if it’s a hobby project that’s going to blow up anyway.

      Also, including Claude doesn’t inherently mean vibe coded, it can be for writing tests, small components, or debugging.

      • skibidi@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Tests should be written from requirements. Using LLMs to write tests after the code is written (probably also by LLMs) is a huge anti-pattern:

        The model looks at what the code is doing and writes tests that pass (or fail because they bungle the setup). What the model does not do, is understand what the code needs to do and write tests that ensure that functionality is present and correct.

        Tests are the thing that should get the most human investment because they anchor the project to its real-world requirements. You will have tons more confidence in your vibe coded appslop if you at least thought through the test cases and built those out first. Then, whatever the shortcomings of the AI codebase, if the tests pass you can know it is doing something right.

        • Manifish_Destiny@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          14 hours ago

          No matter how mad this makes people, its still true.

          What makes the code actually useful in most cases however, is enough understanding of the program to modify as its needed. That’s where LLMs fall flat. Even when the code works, its terrible at adjusting the code to fit a specific use case. Dont even get met started on usable documentation or maintenance.

        • 8oow3291d@feddit.dk
          link
          fedilink
          English
          arrow-up
          12
          arrow-down
          2
          ·
          1 day ago

          Wikipedia says:

          Vibe coding involves accepting AI-generated code without reviewing it,

          If you are using LLMs to write e.g. small components, then you are typically understanding the structure of the program, and reviewing it.

          • AnyOldName3@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            2
            ·
            1 day ago

            There’s nothing inherent to small components to suggest that you have to review them. If they’re small, it’s easier to tell yourself that the LLM probably got them right and you’re justified in not checking.