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

Do not use ? at the end of boolean function #1

Open
friedger opened this issue Feb 10, 2025 · 2 comments
Open

Do not use ? at the end of boolean function #1

friedger opened this issue Feb 10, 2025 · 2 comments

Comments

@friedger
Copy link
Contributor

In clarity functions, the question mark is used to indicate optional or wrapped results, e.g. to-consensus-buff?

There should be code guidelines that suggest to not use question mark for boolean results, example has-duplicate-chars?

@ryanwaits
Copy link
Collaborator

ah ok - thats my ruby background overriding my clarity 🙃

@friedger
Copy link
Contributor Author

I'll try to provide more references for my statement in this issue..

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