raywenderlich.com Java 风格指南
此样式指南与您可能看到的其他样式指南不同,因为重点是以印刷和网络的可读性为中心。我们创建了这个风格指南,以使我们教程中的代码保持一致。
Our overarching goals are conciseness, readability and simplicity.
You should also check out out Swift
and Objective-C
style guides too.
Inspiration
This style-guide is somewhat of a mash-up between the existing Java language
style guides, and a tutorial-readability focused Swift style-guide. The language
guidance is drawn from the
Android contributors style guide
and the
Google Java Style Guide.
Alterations to support additional readability in tutorials were inspired by the
raywenderlich.com Swift style guide.