首页 | 本学科首页   官方微博 | 高级检索  
文章检索
  按 检索   检索词:      
出版年份:   被引次数:   他引次数: 提示:输入*表示无穷大
  收费全文   146篇
  免费   6篇
  2023年   1篇
  2022年   2篇
  2021年   5篇
  2020年   4篇
  2019年   3篇
  2018年   3篇
  2017年   3篇
  2016年   4篇
  2015年   2篇
  2014年   3篇
  2013年   50篇
  2012年   7篇
  2011年   11篇
  2010年   5篇
  2009年   8篇
  2008年   5篇
  2007年   3篇
  2006年   5篇
  2005年   6篇
  2004年   5篇
  2003年   8篇
  2001年   2篇
  1999年   3篇
  1997年   1篇
  1995年   1篇
  1994年   1篇
  1980年   1篇
排序方式: 共有152条查询结果,搜索用时 125 毫秒
151.
Source code is a form of human communication, albeit one where the information shared between the programmers reading and writing the code is constrained by the requirement that the code executes correctly. Programming languages are more syntactically constrained than natural languages, but they are also very expressive, allowing a great many different ways to express even very simple computations. Still, code written by developers is highly predictable, and many programming tools have taken advantage of this phenomenon, relying on language model surprisal as a guiding mechanism. While surprisal has been validated as a measure of cognitive load in natural language, its relation to human cognitive processes in code is still poorly understood. In this paper, we explore the relationship between surprisal and programmer preference at a small granularity—do programmers prefer more predictable expressions in code? Using meaning-preserving transformations, we produce equivalent alternatives to developer-written code expressions and run a corpus study on Java and Python projects. In general, language models rate the code expressions developers choose to write as more predictable than these transformed alternatives. Then, we perform two human subject studies asking participants to choose between two equivalent snippets of Java code with different surprisal scores (one original and transformed). We find that programmers do prefer more predictable variants, and that stronger language models like the transformer align more often and more consistently with these preferences.  相似文献   
152.
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号