Skip to content
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

WeakSet functions #115

Open
3 tasks
tomek-he-him opened this issue Jun 11, 2015 · 3 comments
Open
3 tasks

WeakSet functions #115

tomek-he-him opened this issue Jun 11, 2015 · 3 comments
Milestone

Comments

@tomek-he-him
Copy link
Member

@stoeffel
Copy link
Contributor

how should we implement this funcs? prefix? or in a separate folder i.e. '1-liners/WeakSet/add'?
I'm actually not sure if I want to mirror all nativ functions? I think 1-liners should stay really simple and super lightweight. We could still add other repos i.e. 1-liners-weakset 1-liners-weakmap 1-liners-date. What do you think?

@tomek-he-him
Copy link
Member Author

Ref #113 (comment) #112 (comment)

Maybe that’s a way forward. But then again you have array.entries(), map.entries() and set.entries(). The function for each of them is exacly the same: (object) => object.entries(). There’s no need to repeat it over three repos. We can list it three times in the docs, but that would be the job of doxie.

@tomek-he-him
Copy link
Member Author

BTW if we had 300 tiny one-liner functions, that wouldn’t make any of them less lightweight.

@tomek-he-him tomek-he-him modified the milestone: 1.0.0 Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants