-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use Android field naming convention or Java's? #986
Comments
I used to code the Java way, so I'd vote for Java's coding convention. My previous work was in AOSP's coding style because - just to make sure I'm with Android's standard to reduce the chance of the PR being rejected. (Though, what happened then was not related to naming conventions at all ;)) |
I also prefer the second one when writing Java code. Jake Wharton also has a good post on the subject. |
Well, I'll use Java notation on new PRs (as always) and enforce the usage of Java notation in new PRs. That is if no one proposes a counter argument. |
I used to follow the AOSP style. However, Jake does have a point in the article mentioned by @tryton-vanmeer |
Fixes TeamAmaze#1003. Also changed member naming back to Java's coding convention (TeamAmaze#986)
It's decided then. |
From AOSP Java Code Style for Contributors:
And from Java Code Conventions:
I personally prefer the second one, because of less clutter. But right now we have both, so which one should be enforced?
The text was updated successfully, but these errors were encountered: