Coding Style

Be consistent in style of a project.

Naming Conventions

It is important to use good names that are short, simple and tell the purpose of the  variable/ function / file / data structure.

Indents

Indents are important for readability.

Short Lines

Instead of using object.property.otherProperty multiple times in the same section use declaration of a variable.
For example:

const nestedProperty = object.property.otherProperty

// use nestedProperty here

Order Of Imports

Import statements should be sorted with the most fundamental packages first, and grouped with associated packages together and one blank line between groups.
The import statement location is enforced by the Java

Up Next

As you continue to refine your programming skills, it's time to delve into the fascinating realm of coding tricks. In this stage, we will explore various techniques and strategies that can help you write efficient, clean, and elegant code. By incorporating these coding tricks into your workflow, you'll not only enhance your productivity but also elevate the quality of your code.