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
os/v2: fix inconsistent casing in names #1187
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
It's easy to see what the casing rules are. Mkdir, Getenv, Readlink, and Readdir os package names are all equivalent to corresponding Linux (and other Unix-style OSs) lower-case function names with the first character capitalized so that the function names are exported. MkdirAll, TempDir, ForkExec, and ReadAt have no corresponding OS functions and use Go standard camel-case names with the first character capitalized so that the function names are exported. |
The Go Nuts mailing list is for Go language questions and discussions. http://groups.google.com/group/golang-nuts These has already been a discussion of these issues: FunctionName caseinconsistencies. http://groups.google.com/group/golang-nuts/browse_thread/thread/dc52b51b4f007d50/ |
Yes, and the issue tracker is to report issues? Feels like both are being used the way they should. Also, the message from Russ which you point out seems to agree with the problem I report: "Names like Readdirnames, which are actual words, might be worth revisiting at some point." So, here is an issue to track this. |
rsc
changed the title
os: inconsistent casing in names
proposal: os: inconsistent casing in names
Jun 17, 2017
rsc
changed the title
proposal: os: inconsistent casing in names
proposal: os: fix inconsistent casing in names
Jun 17, 2017
ianlancetaylor
added
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
and removed
LongTerm
labels
Dec 5, 2017
I think this is manageable. It could lead to a lot of hard to do program rewrites. |
gopherbot
removed
the
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
label
Aug 16, 2019
gopherbot
added
the
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
label
Sep 3, 2019
ianlancetaylor
changed the title
proposal: os: fix inconsistent casing in names
os/v2: fix inconsistent casing in names
Aug 23, 2023
ianlancetaylor
removed
v2
A language change or incompatible library change
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
labels
Aug 23, 2023
ianlancetaylor
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Aug 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The text was updated successfully, but these errors were encountered: