&gt; ... I&#x27;ve removed a whole bunch of code from my own library<p>You removed a bunch of code you understood, and added a bunch more code you don&#x27;t understand, along with whatever technical debt, edge cases, and performance issues which are lingering in that library.<p>Adding a library is never removing code from your project, it&#x27;s adding code you don&#x27;t yet understand to your project. It can still be a net win, but it&#x27;s not less code for you to maintain.