I think modern software being chock full of dependencies is a problem. There are security and other issues introduced by devs who literally are just avoiding writing a pretty simple function or two and that’s bad. If you properly check those functions I would even say that using AI in that context is the better option.
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.
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.
It means somewhere else it already exists. If you don’t want to write that, just look for dependencies. Or write your own codegen tools.
That’s not how LLMs or coding agents work. They aren’t a database of existing code snippets for it to choose from.
I think modern software being chock full of dependencies is a problem. There are security and other issues introduced by devs who literally are just avoiding writing a pretty simple function or two and that’s bad. If you properly check those functions I would even say that using AI in that context is the better option.
You can just fork the dependencies into your own project, or use snapshots (dub allows that via versioning).
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.
Using AI is exactly jumping through hoops to use someone else’s project.
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.