-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Reduce library adoption friction by emphasizing the most used functions somehow. #271
Comments
Good suggestion. There are almost 300 hundred functions in ramda, too many to learn/search. |
This is an interesting idea. But I have no idea how to achieve it. I could list the functions I use most... not easily, but with some work. @adispring could list the functions he uses most. Others could list their functions. But the Ramda community is very large, with over a million daily NPM downloads, and some number of users I don't even know how to estimate; I don't know how to get a representative sampling. Or we could simply play a guessing game, make a pass at it, and look for feedback, iterate until it stabilizes. I could also see a silly little application, authenticated with a GitHub profile to avoid spam that lets a user categorize Ramda functions into Or maybe the core team simply curates a list of the 25 most common functions, or some such. We probably should so something to make this more prominent: https://github.com/ramda/ramda/wiki/What-Function-Should-I-Use, but I don't even know when it was last updated. So I'd love to hear suggestions both for how to gather the information about the most important functions and for how to present that information. |
I did a pass at separating the functions for my usage from
|
My usage status 4 years ago is here: https://github.com/adispring/statistic_ramda/blob/master/ramda-status.md |
How about this: List all the functions with a vote icon, and then let the users vote. |
Sure, but where and how? How do we prevent ballot stuffing? |
I don't think most used to least used list would help much. Most used functions like |
@webduvet: There are dozens of tutorials out there teaching Ramda. Would you suggest that such a tab hosts such tutorials or simply offers links to them? |
Related #270 |
Ping. Does anyone have further ideas on this topic? While I would love to see something, I don't have real suggestions. |
Perhaps we could extract the functions mentioned in Stack Overflow posts and create a sort of a map/graph? We could see what are the functions that tend to be used together and what are the ones that seem to be the most confusing or mentioned the most. Just an idea. Most likely a very silly one :) |
Interesting, but I think that would be quite difficult, especially when we have many common English words as function name, "all", "and", "any", "call", "both", "count", "drop", "either", "find", and many more. There are possibilities, but I don't think it's a quick one. |
Wanting to try out Ramda for the first time I’m just confronted with a wall of functions, many of which I’m sure are little used or just deprecated.
What a newcomer like me needs is a list of functions to feed into the L1 Cache of my brain to make thinking in ramda less of a struggle. Having some experience with FP I know that map() and reduce() will probably be at the top, but beyond that there must be a subset that are frequently used.
I suggest something like a list of these functions on the homepage, or better yet, a MVP tag in the documentation, or even just a ⭐ next to the function. So when I know I need a “List” function, I can search on “List”, and I’ll see ⭐ next to a few functions, which are more likely what I’m looking for.
The text was updated successfully, but these errors were encountered: