5 ms·
true... ...this applies not just to threading, but other things that are not in the domain of the library such as memory allocation strategy or communication m
by TickleSteve 10y ago
true...
...this applies not just to threading, but other things that are not in the domain of the library such as memory allocation strategy or communication mechanism.
Libraries should be small, focused and decoupled. This is the way to proper re-usability.
- amag 10y agoLike left-pad?
- TickleSteve 10y agojeez, no.... extremes of everything are terrible. I suppose another rule should be that there libraries should encapsulate a sufficient amount of complexity to make their existence worthwhile.... unlike left-pad.
- gnaritas 10y agoThat's a function deployed as a library, not a real library; the word library implies many functions.
- prodigal_erik 10y agoThere's nothing really wrong with packaging small isolated pieces of code. The debacle came from consumers' bad habit of randomly upgrading their dependencies without doing full regression testing (partly because the tooling encourages this terrible practice).