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

Answered important source code question. #7596

Closed
wants to merge 1 commit into from
Closed

Conversation

coby69
Copy link

@coby69 coby69 commented May 16, 2024

I saw that you left this unanswered question in your source code, I believe it deserved to be answered for the people who stumble across it in the future.

@ocornut
Copy link
Owner

ocornut commented May 17, 2024

Hello Coby. Thanks for your PR but this seems redundant and unnecessary.

@ocornut ocornut closed this May 17, 2024
@zao
Copy link

zao commented May 17, 2024

OP: You may be misinterpreting the purpose of the code comment as it's not an unresolved question of doubt but more a statement of function.

The comment describes the effect the variables have in the form of a question as they're binary choices, this may also be to clarify that the variables are boolean and not numeric as one may think when seeing them in isolation at a use site or in IDE tooling.

@ocornut
Copy link
Owner

ocornut commented May 18, 2024

Thank you Lars for kindly clarifying.

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

Successfully merging this pull request may close these issues.

None yet

3 participants