1. If there are more than two words, the abbreviation rule is used. Otherwise, the abbreviation is not required.
2. the abbreviated rule adopts international customary methods:
Except for the first letter.
Use the first or several letters of a word.
Use the following rules to combine words:
3. Use each typical word in the variable name. For example, Count of failure is written as failcnt.
4. Remove useless word suffixes such as ING and Ed. For example, the paging request is written as pagreq.
For example, Ft = foot, JPN = Japan, and BLD = build. You can try to read it. The pronunciation is almost the same, and the key to the pronunciation is consonants.
According to this rule, the letters should be abbreviated as follows:
Project_no = prjct_no
Approval_status = apprvl_status
Contract_code = cntrct_code
Department = Department (abbreviation not required)
In addition, we should try to use widely accepted abbreviations.
======= Common abbreviations ======
Full abbreviations
A
Average --> AVG
B
Back --> BK
Background --> BG
Break --> BRK
Buffer --> Buf
C
Color --> Cr (CLR)
Control --> CTRL
D
Data --> dat
Delete --> Del
Document --> Doc
E
Edit --> EDT
Error --> err
Escape --> ESC
F
Flag --> flg
Form --> FRM
G
Grid --> GRD
I
Increment --> Inc
Information --> info
Initial --> init
Insert --> INS
Image --> img
L
Label --> lab
Length --> Len
List --> lst
Library --> lib
M
Manager --> mngr (MGR)
Message --> msg
O
Oracle --> ora
P
Panorama --> Pano
Password --> pwd
Picture --> PIC
Point --> PT
Position --> POS
Print --> prn
Program --> PRG
S
Server --> srv
Source --> SRC
Statistic --> stat
String --> Str
Sybase --> syb
T
Temp --> TMP
Text --> txt
U
User --> USR
W
Window --> WND (WIN)
===Use the vowel elimination and intercept methods as the basic methods"