3 ms·
Does ‘no dependencies’ prevent you from copying code in from elsewhere? If I see small 1 or 2 file libraries I generally just copy them in.
by Aeolun 4y ago
Does ‘no dependencies’ prevent you from copying code in from elsewhere?
If I see small 1 or 2 file libraries I generally just copy them in.
- klysm 4y agoI do this a lot too, but this is the kind of dependency I’m more okay with. It doesn’t have to integrate with systems so the rug won’t get swept out. It’s low risk and I know I could always copy it if it were to die. I would have no issue depending on it.
- rikroots 4y agoI'm guilty of copying code in from elsewhere. I've made an effort to acknowledge the copying by adding links to the original repos in code comments, which get translated into actual links when I generate the documentation. I also try to acknowledge where I haven't copied code, but the code I've written has been heavily inspired by other people's code.