"loc" in Chinese (Simplified)
LOC(代码行数缩写)
Definition
“Loc” 是“代码行数”(lines of code)的缩写,是软件开发中用来统计源代码行数的度量方式。
Usage Notes (Chinese (Simplified))
“Loc” 仅用于技术领域,尤其是编程和软件开发相关的场合。常见于报告和讨论,比如“KLOC”(千行代码)。避免与其他“loc”缩写(如 location)混淆。
Examples
Developers often measure a project's size by its LOC.
开发人员经常通过**LOC**来衡量项目的规模。
This program has 2,000 LOC.
这个程序有 2,000 行**LOC**。
Can you estimate the LOC for this feature?
你能估算一下这个功能的**LOC**吗?
Our boss keeps asking for lower LOC numbers in our code reviews.
我们的老板在代码评审时总是要求我们降低**LOC**数量。
That tiny script is only ten LOC, but it works perfectly.
那个小脚本只有十行**LOC**,却运作得很好。
He bragged that his solution had half the LOC of anyone else’s.
他夸口说,他的解决方案的**LOC**只有别人一半。