Java Coding Conventions (from old wiki) #3973
Closed
chenlica
started this conversation in
archived-wiki
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From https://github.com/apache/texera/wiki/Java-Coding-Conventions (may be dangling)
=====
Author: Zuozhi Wang
This document specifies the coding conventions in Texera project.
In Eclipse
In IntelliJ, uncheck
use tab character.The reason is that Github shows tab as 8 spaces, thus leading to inconsistency of indentations. Different people may have different configurations, which may mess up the space / tab and show a lot of changes in git diff.
Use camel case, e.g.
SampleClass,sampleVariableFor constants, use all upper case with underscores, e.g.
SAMPLE_CONSTANTUse the following indentation style
Beta Was this translation helpful? Give feedback.
All reactions