3 ms·
I think you may be dramatically underestimating the cost of NIH and code bloat. I'm talking about things developers think they can do in ten minutes but that t
by nitrogen 7y ago
I think you may be dramatically underestimating the cost of NIH and code bloat.
I'm talking about things developers think they can do in ten minutes but that they are at high risk of getting wrong: generating SQL, parsing JSON, handling dates, etc. These are all things that have well-established libraries in most sane languages (maybe NodeJS is not sane in this regard), where everything that you save yourself from by using the library is worth even a 40 hour review process.
- cogman10 7y agoNone of the examples you've given are 10 minute problems. It isn't reasonable to think of them as such and so it is a straw man. 10 minute problems are things like is-odd - https://www.npmjs.com/package/is-odd https://www.npmjs.com/package/is-odd is-even - https://www.npmjs.com/package/is-even https://www.npmjs.com/package/is-even leftpad - https://www.npmjs.com/package/pad https://www.npmjs.com/package/pad Or bringing in large libraries to use single methods or functions from them. Such as Bringing in gauva for max Bringing in apache commons for StringUtils.join. I've seen both examples in my company's code base. A library that does JSON parsing, date handling, etc is doing a lot more heavy lifting than "is-even".