6

缩写

遵循通用规范,只使用显而易见的缩写,不要滥用,不要有歧义。

变量名 常用缩写
application app
arguments args
average avg
address addr
authority / authorize auth
attribute attr
asynchronization asyn
button btn
buffer buff
command cmd
compare cmp
calculate calc
calendar cal
character char
delete del
document doc
define def
develop dev
department dept
different diff
directory dir
dictionary dict
duplicate / duplication dup
dependency / dependent / depends dep
error err
escape esc
environment env
educate / education edu
equal / equality / equivalence / equivalent eq
frequency freq
government gov
information info
initialize init
individual indv
image img
escpae esc
length len
message msg
maximum max
minimum min
navigation nav
number num
object obj
operator opr
organization org
picture pic
previos pre
package pkg
parameter param
password pwd
position pos
properties props
request req
response rsp
record rec
reference ref
register reg
resource res
receive / received recv
string str
source src
standard std
statistic stat
student stu
summation / summary sum
system sys
system sys
sequence seq
synchronize sync
temporary tmp/temp
translate trans
user usr
utility util
variable var
window win

Pines_Cheng
6.5k 声望1.2k 粉丝

不挑食的程序员,关注前端四化建设。