-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
prop: naming inconsistencies #24
Comments
How does the recent I might be missing contedxt, but |
For example, we rename the I agree that |
Rob Pike: For example |
Go's vet tool will complain about |
@neelance thanks for clearing this up :) I think what you said makes sense, and from creating this issue that is exactly what I wanted to find out: what exactly is the name remapping pattern? I think you answered that clearly and I'm happy with it 👍 |
I watch this repo with interest as this is something I need and want, so I have no strong meaning about this. But getting the names right before people start using it saves a lot of trouble in the long run. I did a major naming cleanup of the API of Hugo a couple of months ago ... A lot of work with all the themes etc ... |
Definitely. Consider About |
FWIW I agree with your stance and think that |
I also consider |
Generally speaking, I'm 👍 for |
Sounds like we all agree to go with |
Creating this as an issue and not a PR because I'm not sure we should do anything about it..
We might consider renaming these to match the
elem
andstyle
naming schemes (of not using short-hand versions or acronyms):prop.Href
->prop.HypertextReference
prop.Id
->prop.Identity
prop.Src
->prop.Source
The first two are by far much less digestible to me as an end-user.
The text was updated successfully, but these errors were encountered: