3 ms·
The proliferation of JavaScript libraries is sort of like what happened when Amazon.com came online and you now could choose from +1M books instead of the 10K t
by bhouston 12y ago
The proliferation of JavaScript libraries is sort of like what happened when Amazon.com came online and you now could choose from +1M books instead of the 10K that were available at your local non-big-box bookstore.
No longer are you dealing with a scarcity situation, where the bookstore was your filter, but an overload situation where you could access everything as easily as a click. Amazon dealt with this by allowing for ratings (one to five stars), reviews and ratings of reviews. It also tracked what books people bought in the end. I think this can be applied to NPM and other non-JavaScript package managers.
We have much the data in Github and NPM to do this, with the exception of proper ratings (stars are not that informative, as they are only positive) and proper written reviews.
I'll be honest, there is a real space to move in this direction towards collaborative filtering of packages based on both implicit and explicit signals.
- nissimk 12y agoGood point. I like to browse github projects by stars and npm packages by downloads which helps to identify the popular software. The search engines are not really optimized for this usage though, and long form reviews would be a nice addition. Right now you need to combine the search ordered by popularity with google or stack overflow searches to get the more qualitative information you would get from user reviews.
- ajuc 12y agoThe need for such rating system is evident when you see all the closed questions on stackoverflow: "what is the best library to do X"?
- htor 12y agoI don't see how rating libraries and frameworks would work. You use a library, depending on if it solves your problem or not. Some libraries solves your problem but might not solve others. And that's fine. That's why there are multiple libraries in the first place. For instance, saying some library is less useful than another on Github because it enforces a functional style of programming, is not very useful for others that might like the functional style. Remember, these things are not books, but tools.