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

spec: various cleanups #4486

Closed
griesemer opened this issue Dec 4, 2012 · 7 comments
Closed

spec: various cleanups #4486

griesemer opened this issue Dec 4, 2012 · 7 comments

Comments

@griesemer
Copy link
Contributor

http://tip.golang.org/ref/spec#Arithmetic_operators
- could use better separation between integer and floating point operations
(specifically, div-zero)

http://tip.golang.org/ref/spec#Indexes
- in technical use (which is what we have here), the better word is "indices"

http://tip.golang.org/ref/spec#For_statements
- ordinary and range 'for' statement section are one huge piece - should have a
sub-section like for switch and type switch statements - or even make them separate
statements
@rsc
Copy link
Contributor

rsc commented Dec 6, 2012

Comment 1:

I went looking for Indexes vs Indices for unrelated reasons last
night, documenting something else. I think the tide is slowly turning
away from indices. It is true that
http://oxforddictionaries.com/definition/english/index says that
indices occurs "especially in technical use" but I think that is
saying "if you see indices you're likely to be reading technical
material" not "if you're reading technical material you're likely to
see indices". Especially since we've already got the doc saying
Indexes and since Indexes matches when you're doing a text search for
Index, I would keep Indexes.

@robpike
Copy link
Contributor

robpike commented Aug 8, 2013

Comment 2:

"Indices" it is. The document is now consistent.
Other two issues are unresolved.

@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 3:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 4:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 5:

Labels changed: added repo-main.

@griesemer griesemer self-assigned this Dec 4, 2013
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@griesemer
Copy link
Contributor Author

Organization of arithmetic ops is addressed by https://go-review.googlesource.com/13143 (and more to come).

Decided to leave section on For-statements as is.

@gopherbot
Copy link

CL https://golang.org/cl/33410 mentions this issue.

@golang golang locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants