编码常用英文缩写

在日常编码工作中,免不了会看到或者用到一些缩写,如果每个人都按照自己的习惯来使用缩写,没有一个统一的规范,会导致代码的可读性很差。

为了便于团队成员能快速理解他人编写的代码,理应在团队内部使用统一的缩写规范以提升代码的可读性,特在此列出常用缩写供大家参考。

注意:不要为了减少编写代码的字符数而使用不常见的缩写,会导致代码可读性很差,得不偿失。

原文缩写释义
China/ChineseCHN中国;中国的;汉语
abbreviationabbr缩写
Operation SystemOS操作系统
Central Processing UnitCPU中央处理器
Input and OutputIO输入输出
User InterfaceUI用户界面
Graphic User InterfaceGUI图形用户界面
Application Programming InterfaceAPI应用程序接口
applicationapp应用程序
Internet ProtocolIP互联网协议
databaseDB数据库
identifierID标识符
communicationcomm通信
connectionconn连接
certificationcert证书
authorizationauth批准;授权
requestreq请求
responseresp应答
acknowledgeack确认应答
negative acknowledgenack否定应答
synchronizesync同步
asynchronizeasync异步
receiverecv接收
messagemsg消息
ascendasc升序
descenddesc降序
memorymem内存
addressaddr地址
allocatealloc分配
bufferbuf缓冲区
functionfunc函数
errorerr错误
automaticauto自动的
variablevar变量
argumentarg参数
parameterparam参数
integerint整数
numbernum数字
Not a NumberNaN非数
characterchar字符
stringstr字符串
structurestruct结构体
elementelem元素
enumerationenum枚举
arrayarr数组
iteratoriter迭代器
sequenceseq序列
referenceref引用;参考
calculatecalc计算
operatorop操作符
absoluteabs绝对的;绝对值
increaseincr自增;增加
decreasedecr自减;减少
differencediff差异;差值
multiplymul
dividediv
modelmod
ceilingceil向上取整
square rootsqrt平方根
comparecmp比较
equaleq相等
not equalneq不相等
greater thangt大于
greater than or equal togte大于等于
less thanlt小于
less than or equal tolte小于等于
statisticsstat统计
averageavg平均值
maximummax最大值
minimummin最小值
lengthlen长度
concatenatecat拼接
formatfmt格式化
texttxt文本
Regular Expressionregexp正则表达式
systemsys系统
clockclk时钟
directordir目录
initializeinit初始化
userusr用户
administratoradmin管理员
config/configurationcfg配置
processproc进程
signalsig信号
registerreg注册
servicesrv服务
environmentenv环境
executeexec执行
commandcmd命令
librarylib
devicedev设备
temporarytmp临时的
optionalopt可选的
assemblyasm汇编
binarybin二进制的
hexadecimalhex十六进制的
generategen生成
solutionsln解决方案
utilityutil实用程序;公用程序
sourcesrc源;源代码
objectobj对象;目标
documentdoc文档
packagepkg
destinationdest目标
locationloc位置
middlemid中间的
previousprev上一个
controlctrl控制
alternatealt候补;交替的
tabulator keytab制表键;跳格键
Escapeesc退出键
pixelpx像素
coordinatecoord坐标
imageimg图片;镜像
picturepic照片
bitmapbmp位图
attributeattr属性
informationinfo信息
technologytech技术
standardstd标准
organizationorg组织
professionalpro专家;专业的
contextctx上下文
multiplemulti多种的
seconds
millisecondms毫秒
microsecondus微秒
nanosecondns纳秒
kilobyteKB千字节
megabyteMB百万字节
gigabyteGB十亿字节
terabyteTB万亿字节
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值