• TrickDacy@lemmy.worldM
    link
    fedilink
    arrow-up
    0
    ·
    18 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.

      • TrickDacy@lemmy.worldM
        link
        fedilink
        arrow-up
        0
        ·
        16 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.