• ZILtoid1991@lemmy.worldOP
    link
    fedilink
    arrow-up
    2
    ·
    22 hours ago

    You can just fork the dependencies into your own project, or use snapshots (dub allows that via versioning).

    • TrickDacy@lemmy.worldM
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      22 hours ago

      Yes, you could. As always I think the context dictates what makes sense. I am not generally in favor of ai for software or much else but there could be some examples where writing a small amount of code with it is better than jumping through hoops to use someone else’s project.

      • Klear@piefed.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        20 hours ago

        Using AI is exactly jumping through hoops to use someone else’s project.

        • TrickDacy@lemmy.worldM
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          20 hours ago

          With all things we can either practice moderation or not. A couple of functions that avoid adding dependencies and sub dependencies is a good option. I know this because I am a JavaScript developer. Try dealing with a project with dozens of dependencies and tell me you won’t spend a small amount of effort trying to avoid that. Had to do a fire drill deploy just the other day because of a zero day. That one was a complicated thing I couldn’t just write a function for but the principle remains. always adding more dependencies is not a good move.