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.

  • NotSteve_@lemmy.ca
    link
    fedilink
    arrow-up
    29
    ·
    2 days 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.

    • fckreddit@lemmy.mlOP
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      2 days ago

      Because you understand that there is more to code than getting it to do what needs to be done, you can objectively judge code on more than one criteria. Meanwhile, vibe coders think that the concerns about structure and maintainability can be short circuited. No wonder, managers and vibe coders think alike.

    • GreenKnight23@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      4
      ·
      2 days ago

      legitimate question.

      how do you expect humans to maintain a project that didn’t base its patterns and organization on human thought patterns and organizational strategies?

      • NotSteve_@lemmy.ca
        link
        fedilink
        arrow-up
        17
        ·
        2 days ago

        I don’t. Like I said, it needs a lot of tweaking and the only time I have it do more than laying down the base for a function is at the beginning of a new project that’s not too important (like personal projects). I end up rewriting nearly everything anyway but it helps with getting over that initial overwhelmed feeling when staring in a blank file

        • GreenKnight23@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          1 day ago

          different strokes for different folks. I enjoy a fresh clean project that I can start with. I hate picking up someone else’s mess so using AI in that manner completely goes against what I enjoy as a dev.

          it originally sounded to me like you were having AI generate the hierarchy and project structure, but it sounds like you’re just using it to generate file templates.

          Thanks for the insight.