3 ms·
I always understood "Buy vs Build" as "buying software is cheaper than building it yourself". In the case of NPM, using most of the third-party modules out ther
by danwee 4y ago
I always understood "Buy vs Build" as "buying software is cheaper than building it yourself". In the case of NPM, using most of the third-party modules out there (buying) is more expensive than writing the code yourself (building).
- nuc1e0n 4y agoThere's a balance to be had for sure. If you bring in some module to a project it comes with costs of its own. That's not often well understood
- cnasc 4y ago> using most of the third-party modules out there (buying) is more expensive than writing the code yourself (building). This is probably true for "most of the modules" but not for "most of the modules that people actually use"
- k__ 4y agoYes. I came from PHP, where everyone and their mom would reinvent the wheel. Then I switched to Node.js, where no one would write their own code anymore. The truth lies in the middle. Can I write something like D3 until the dead line hits? Probably not. Can I write something like left-pad until the dead line hits? Certainly. Habits often mute common sense.
- dotopotoro 4y agoTrue. Though realistically, regarding left-pad, in other languages I would expect left-pad to be part of string formatting package.