Skip to content

Coding Standard

Salekur Rahaman edited this page Mar 18, 2020 · 35 revisions

Development Language:

  • JAVA for back-end.
  • XML for font-end.

Variable Declaration:

  • JAVA: Pascal Casing (start with an upper letter in each word).
  • XML: All letter must be in lower case (activityname_itemtype_usefor).

Spacing:

JAVA:

  • Used TAB SPACE on the starting of the body of classes, functions, and loops.
  • Used general SPACE after the comma.

Comments Style:

JAVA:

  1. Single Line Comment (// comment.....).
  2. Multi-Line Comment (/* comments..... */).
  3. Documentation Comment (/** comments.... */).

XML:

  1. All Comments (<!-- comments -->).

Commented Code:

Write the starting point, closing point, and element details in comments.

Use of curly brackets in If Statement and Functions:

If condition

Framework Used:

  1. Database: Google Firebase Database and Hosting (https://firebase.google.com).
  2. Design: Google Material Design (https://material.io).
Clone this wiki locally