4 ms·
Will Yarn ever be merged into npm's CLI? Why does the node community back two package managers?
by firloop 9y ago
Will Yarn ever be merged into npm's CLI? Why does the node community back two package managers?
- tengkahwee 9y agoNode has more than 2 package managers. There's also jspm and at some point of them people were using bower too.
- Klathmon 9y agoThe same reason most people back multiple browser rendering engines, or multiple car manufacturers, or multiple CPU manufacturers. Competition is good, and having 2 implementations of the same basic idea that each prioritise different things means that more people can have their cake and eat it too. Having one tool that has hundreds of flags to enable different use-cases is an anti-pattern in my opinion, and a fantastic alternative is to create multiple competing tools that each handle those different use-cases. It's the unix philosophy taken to the extreme, each "program" should do one thing, and do it well.
- firloop 9y agoThis is a good answer that changed my perspective, thanks.