Skip to content

Fix hex/dec error #187

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

Merged
merged 1 commit into from
Nov 20, 2014
Merged

Fix hex/dec error #187

merged 1 commit into from
Nov 20, 2014

Conversation

tacker66
Copy link
Contributor

Signed-off-by: Thomas Ackermann th.acker@arcor.de

@schacon
Copy link
Member

schacon commented Nov 20, 2014

I can see how this is unclear.

By "005b, which is 91 in hex" we mean "005b, which is the hexadecimal representation of 91". The "in hex" is supposed to explain '005b', not '91'. Changing this word I think makes things confusing in the other direction. If you change this PR to "which is the hexadecimal representation of 91" instead I think it would be worth merging. Thoughts @ben?

@ben
Copy link
Member

ben commented Nov 20, 2014

Your first line starts with 005b, which is hexadecimal for 91, meaning that 91 bytes remain on that line.

@tacker66
Copy link
Contributor Author

I changed the pull request to @ben's suggestion but what about dropping the "which is hexadecimal for 91" altogether because we are not doing a primer on number systems here?

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
@schacon
Copy link
Member

schacon commented Nov 20, 2014

I'm not sure how removing the explanation of the number makes it clearer. We're not even explaining what hexadecimal is, we're simply explaining why that string means 91. It's not like we're going into an explanation of number bases. Saying that it's hex instead of octal even is at least minimally helpful because it doesn't require the reader to work backwards to figure out the base.

I think simplifying the sentence to Ben's suggestion is probably the overall best course here.

@tacker66
Copy link
Contributor Author

Agreed 👍

@ben
Copy link
Member

ben commented Nov 20, 2014

Nice. Thanks!

ben added a commit that referenced this pull request Nov 20, 2014
@ben ben merged commit 8fd4b18 into progit:master Nov 20, 2014
@tacker66 tacker66 deleted the hex_dec branch November 21, 2014 18:23
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.

3 participants