“分号”是什么意思?均值作为大小单位
On the Io home page it mentions its small size, but it uses a unit of measure I've not seen before:
small vm (~10K semicolons)
Is this just the size in characters (~bytes), or is there something more subtle going on here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它是对逻辑代码行的度量。
您只需测量以分号结尾的行,而不是简单地计算所有代码行(包括注释、空行等)。这是一个仍然简单但更准确的衡量一段代码有多大的方法。
It's a measure of Logical lines of code.
Rather than simply counting all lines of code, including comments, blank lines, etc., you only measure the lines that end in a semicolon. It's a still-simple but more accurate measure of how large a piece of code is.