-
Notifications
You must be signed in to change notification settings - Fork 517
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
tour: mixing terminology "rune" and "character" #497
Comments
I think the page /15 should be modified to "Unicode code point" to be more specific, although the terms are used as synonyms from what I saw ( https://blog.golang.org/strings ). |
The language spec (https://go.dev/ref/spec#Constants) says:
Rune constants are included in numeric constants, so neither is need here. |
In tour/basics/15 ("Constants") the word "character" is both new (not used in the tour before this slide) and confusing as it is not the Go way to talk about runes. Since "numeric values" is called out a few words later (which includes rune constants), neither rune nor character is needed here. Remove odd word "character" to avoid confusing readers with unneeded non-Go terminology. Fixes golang/tour#497 Fixes golang/tour#1151
Context: https://tour.golang.org/basics/11
on tutorial page 11, it mentions "rune" (uint32), but on page 15 it is called "character" with no indication that it means the same thing
The text was updated successfully, but these errors were encountered: