Coding Standard - JoySaha11/CSE327_PROJECT GitHub Wiki
Coding standards: (PHP)
Introduction
Coding standards are a set of instructions for a specific programming language that define the style and procedures that should be followed when writing code. The code I write must be understandable to our teammates. A coding standard is a set of rules that everyone on the team must follow in order to understand the code.
Naming Conventions:
Variable Name:
The name of the variable should be written in lower case. The names of all variables in the current scope should be completely unique. Variable names should include entire words or intelligible abbreviations to convey the content they will contain. For multiple word variable the should in “lower_case_with_underscores”.
Example:
$user_name
$user_email
$user_message