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

064_builtins: clarify @addWithOverflow explanation #101

Merged

Conversation

DerTee
Copy link
Contributor

@DerTee DerTee commented May 16, 2022

There were misunderstandings concerning overflowing operations and overflowed variables, see #94 for the discussion.
This PR is a draft for an explanation that is hopefully clearer.

I tried to keep the explanation relatively short, because I'm hoping that the direct relation to the code and variables is sufficient. That could be a mistake and probably needs feedback from users.

Also the user has one additional question to correct to make sure they understood the builtin (with the drawback of frustrating them if the explanation is still not clear enough -> meh). The main reason I added the question, was that reading a big chunk of text about overflow and not being asked a verifying question felt like a small let down.

There were misunderstandings concerning
overflowing operations and overflowed variables.
Hopefully it's clearer now.
@ratfactor ratfactor merged commit 4a89f2c into ratfactor:main Jul 31, 2022
@ratfactor
Copy link
Owner

@DerTee Thank you so much for this. Sorry it took so long for me to get back to this. It's a great addition.

@DerTee DerTee deleted the 064_builtins_overflow_clarification branch July 31, 2022 14:35
vamega pushed a commit to vamega/ziglings that referenced this pull request Jul 25, 2023
…arification

064_builtins: clarify @addWithOverflow explanation
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

2 participants