按年被提到
20152015 · 2 次2026
软件工程与 AI 编程›代码生成与程序合成·arXiv:1502.01410 · cs.SE

On the Lexical Distinguishability of Source Code

Martin Velez, Dong Qiu, You Zhou, Earl T. Barr, Zhendong Su · 2015
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 3 人首次 2015-02-11 · 最近 2020-12-21
3不同的人
2活跃月份
3讨论串
1被引(OpenAlex)
arXiv 摘要(候选层不写导读)

Natural language is robust against noise. The meaning of many sentences survives the loss of words, sometimes many of them. Some words in a sentence, however, cannot be lost without changing the meaning of the sentence. We call these words "wheat" and the rest "chaff". The word "not" in the sentence "I do not like rain" is wheat and "do" is chaff. For human understanding of the purpose and behavior of source code, we hypothesize that the same holds. To quantify the extent to which we can separate code into "wheat" and "chaff", we study a large (100M LOC), diverse corpus of real-world projects in Java. Since methods represent natural, likely distinct units of code, we use the ~9M Java methods in the corpus to approximate a universe of "sentences." We extract their wheat by computing the function's minimal distinguishing subset (Minset). Our results confirm that functions contain work offers the first quantitative evidence for recent promising work on keyword-based programming and insight into how to develop a powerful, alternative programming model.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)

讨论串里没有 ≥100 字的评论,只有提交记录。

被提交为 story · 3 次