从业员对代码完成的期望
Practitioners' Expectations on Code Completion
摘要:
代码补全已经成为程序员在日常编程活动中的一种常见做法。它旨在自动预测程序员倾向于使用的下一个标记或行。一个好的代码补全工具可以大大节省程序员的时间,提高编程效率。最近,已经提出了用于代码完成的各种技术以用于实践。然而,目前还不清楚从业者对代码完成的期望是什么,以及现有的研究是否满足了他们的需求。为了填补这一空白,我们进行了一项实证研究,首先采访了15名从业人员,然后调查了来自18家IT公司的599名从业人员对代码完成的期望。然后,我们通过对2012年至2022年在主要出版场所发表的关于代码完成的论文进行文献综述,将从业者的需求与当前的研究进行比较。基于比较,我们强调了研究人员投资努力开发代码完成技术,以满足从业者的期望的方向。
英文摘要:
Code completion has become a common practice for programmers during their daily programming activities. It aims at automatically predicting the next tokens or lines that the programmers tend to use. A good code completion tool can substantially save keystrokes and improve the programming efficiency for programmers. Recently, various techniques for code completion have been proposed for usage in practice. However, it is still unclear what are practitioners' expectations on code completion and whether existing research has met their demands. To fill the gap, we perform an empirical study by first interviewing 15 practitioners and then surveying 599 practitioners from 18 IT companies about their expectations on code completion. We then compare the practitioners' demands with current research via conducting a literature review of papers on code completion published in premier publication venues from 2012 to 2022. Based on the comparison, we highlight the directions desirable for researchers to invest efforts towards developing code completion techniques for meeting practitioners' expectations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。