2 ms·
None 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
by cogman10 7y ago
None 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".