arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.10369cs.SEcs.HC
收藏

新手程序员使用在线资源的策略及其对源代码的影响

Novice programmers strategies for online resource use and their impact on source code

Omar Alghamdi, Sarah Clinch, Mohammad Alhamadi, Caroline Jay

AI总结:

本文通过屏幕录制与访谈研究十名本科生在不同复杂度任务中的网络资源使用策略,并评估源代码,发现网站辅助虽增加时间精力却提高正确率,但也可能引入错误或不可执行代码。

摘要:

网站常被程序员用于支持开发过程。本文研究编程时程序员与网络的交互,并将行为观察与对所得源代码的评估相结合。我们报告了一项在线观察研究,对象是十名本科生程序员,他们从事复杂度不同的编程任务。研究录制了参与者活动的屏幕,且每位参与者都接受了访谈。视频和访谈经过主题分析。新手程序员采用各种策略来寻找和利用在线知识。研究检查了所得源代码,以确定其满足需求的程度以及是否包含错误。源代码分析显示,借助网站编程涉及更多编码时间和精力,但提高了生成正确代码的可能性。然而,借助网站编程也引入了若干源代码不正确或不可执行的情况。

英文摘要:

Websites are frequently used by programmers to support the development process. This paper investigates programmer-Web interactions when coding, and combines observations of behaviour with assessments of the resulting source code. We report on an online observational study with ten undergraduate student programmers as they engaged in programming tasks of varying complexity. Screens were recorded of participants' activities, and each participated in an interview. Videos and interviews were thematically analysed. Novice programmers employed various strategies for seeking and utilising online knowledge. The resulting source code was examined to determine the extent to which it met requirements and whether it contained errors. The source code analysis revealed that coding with the websites involved more coding time and effort, but increased the possibility of producing correct code. However, coding with websites also introduced instances of either incorrect or non-executable source code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑