I come from the consulting world, where it’s common to try to make everything a library. This makes perfect sense, boost profit margins by writing something once and selling it to everyone.
But often times this doesn’t work out as expected for several reasons, the first of which is failing to ask the question “Should this be a library?”
Here are a few tips to help you decide if you should makes something a library or not.