4 ms·
Like most things, blanket advice will break down in some cases, things can be highly contextual. Generally, my anecdotal experience is that Go libraries have f
by abound 2y ago
Like most things, blanket advice will break down in some cases, things can be highly contextual.
Generally, my anecdotal experience is that Go libraries have far fewer average dependencies than the equivalent Rust or JavaScript libraries, and it may be due in part to this (the comprehensive standard library also definitely helps).
I definitely tend to copy small snippets between my projects and rely sparingly on dependencies unless they're a core part of the application (database adapter, heavy or security-sensitive specifications like OIDC, etc)