Choosing a dependency
dev.to·4h·
Discuss: DEV
Flag this post

Fun fact, I thought I had already written this post, but when I wanted to reference it, I found out that I didn’t. In this post, I’d like to describe my approach when choosing a dependency. I’ll first define what I mean by dependency in the context of this post. Then, I’ll list a grid of several criteria to analyze possible dependencies with.

What is a dependency?

A dependency is literally something your software depends on: infrastructure such as a filesystem or a database, network, etc. In the context of this post, however, I’d like to narrow the scope to a software dependency that you need to compile/run, i.e., a library. Different software stacks have different names for this library:

  • Ruby calls it a gem
  • Rust calls it a crate
  • Python and Node.js call it a *pac…

Similar Posts

Loading similar posts...