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

Alternative names #24

Open
Rudxain opened this issue Jul 7, 2022 · 0 comments
Open

Alternative names #24

Rudxain opened this issue Jul 7, 2022 · 0 comments

Comments

@Rudxain
Copy link

Rudxain commented Jul 7, 2022

I like the name unique, but another option to keep in mind is distinct.

Pros: I can't think of anything now.
Cons: Longer to write. Synonyms of "distinct" are less related to the behavior of the method than "unique", so distinct may be more misleading than unique.

If anyone has any "pro" to add to this list, please let me know. Otherwise I'll close this issue if unique is found to be better.

Another alt has already been mentioned in the README.md, uniq, which is more concise

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

1 participant