/
90. Naming conventions and code formatting
90. Naming conventions and code formatting
Code formatting
The source code should be formatted according to default settings of the last version of IntelliJ IDEA.
Naming convention
- Classes
We are using UpperCamelCase. We want to describe as good as possible what class defines. We are using nouns to show what class defines.
Methods
We are using camelCase. We want to describe as good as possible what does the method do. We are using verbs to show what does the method do. In case of boolean methods we are using names such as "isApplicationValid()".Variables
We are using camelCase. We want to describe as good as possible what variable represents. We are using verbs epithets to show variable represents. In case of boolean variable we are using names such as "isCorrect".
, multiple selections available,
Related content
90. Naming conventions and code formatting
90. Naming conventions and code formatting
More like this
99. Testing
99. Testing
More like this
99. Testing
99. Testing
More like this
Developers Corner
Developers Corner
More like this
91. Development environment
91. Development environment
More like this
QualitySpy
QualitySpy
More like this