A lot of value is driven from those dependencies though. Zapier as a pointed example: Zapier sans dependencies is ... well I don't even know. So sure, you could avoid dependencies at all cost, but at some point you might end up deleting the reason someone else wants to use your code in the first place.
Of course, if you're writing code only for yourself that will totally work, but most professional software engineers are not -- it's a balance and it's not fair to say all they have to do is stop writing glue code.
The code makes the same call to a Zapier type command but it could be routed to Zapier today, and somewhere else in the future.
This can take a nominal amount of time longer than integrating Zapier directly.
It could be a couple more tables to setup and manage, or it can be done in the code somewhere.
Engineering is all about compromises. If near-term velocity is more important to you than long-term evolution and maintainability, then go ahead and use all of the dependencies if it allows you to ship faster. But that is a form of technical debt that you will have to pay down eventually.
Building tools for other engineers is where it's at, the library maintainers for long lived libraries, like libc or any collections library.
If you get a sorting algorithm in a mainstream language library, it will likely live forever (or forever-ish in software terms).
The harder the problem you solve (in the math sense) the more likely that if you craft that code properly and carefully, it will outlive you.
Code only "rots" when its dependencies rot from assholes who churn the language or break API promises. These low expectations lead to normalization of deviancy that churn without clear and present value is "okay", when it's merely job security or coding theater to appease others that everything must be touched and changed constantly or otherwise it's "broken".
turtleyacht•9h ago
See uxn and justification: https://wiki.xxiivv.com/site/now_lie_in_it.html
And https://100r.co/site/story.html