3 ms·
> You realize that it was so trivial that there was no need for a library in the first place. I struggle with that all the time. Libraries always tend to accum
by WalterBright 4y ago
> You realize that it was so trivial that there was no need for a library in the first place.
I struggle with that all the time. Libraries always tend to accumulate such trivia. My litmus test for it is if the documentation has more lines than the code.
I hate libraries that are a mile wide and an inch deep.
- Viliam1234 4y ago> My litmus test for it is if the documentation has more lines than the code. Not sure I am understanding this correctly. Would undocumented libraries be the best or the worst according to this metric?
- sagarm 4y agoDocumentation substantially longer than the implementation can mean the abstraction/interface is more complex than simply reimplementing for a specific use case would have been. Sometimes you want a library anyway in these circumstances though, since the expertise required for the short implementation might be significant.