-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
mention use of underscore for private fields in manual #40131
Conversation
I would make them two different bullet points. |
Eh, I must say I personally don't really like this. This gives the notion that functions without underscore are somehow public which isn't true at all. Just looking at Base, there are almost no functions with underscore but most functions are private. |
I see what you mean. Maybe something more like:
|
* Update variables.md * Update style-guide.md * Apply suggestions from code review
* Update variables.md * Update style-guide.md * Apply suggestions from code review
I wasn't sure whether this should be mentioned both in the Variables section and in the style guide. I also noticed the
!
convention was not mentioned in the style guide, so I added that as well, but I can remove that part if this is not the right place.Ref #40127