题名 | ChatGPT vs. Stack Overflow: An Exploratory Comparison of Programming Assistance Tools |
作者 | |
DOI | |
发表日期 | 2023
|
ISSN | 2693-938X
|
ISBN | 979-8-3503-5940-4
|
会议录名称 | |
页码 | 364-373
|
会议日期 | 22-26 Oct. 2023
|
会议地点 | Chiang Mai, Thailand
|
摘要 | Programmers often seek help from Q&A websites to resolve issues they encounter during programming. Stack Overflow has been a widely used platform for this purpose for over a decade. Recently, revolutionary AI-powered platforms like ChatGPT have quickly gained popularity among programmers for their efficient and personalized programming assistance via natural language interactions. Both platforms can offer valuable assistance to programmers, but it's unclear which is more effective at enhancing programmer productivity. In our paper, we conducted an exploratory user study to compare the performance of Stack Overflow and ChatGPT in enhancing programmer productivity. Two groups of students with similar programming abilities were instructed to use the two platforms to solve three different types of programming tasks: algorithmic challenges, library usage, and debugging. During the experiments, we measured and compared the quality of code produced and the time taken to complete tasks for the two groups. The results show that, concerning code quality, ChatGPT outperforms Stack Overflow significantly in helping complete algorithmic and library-related tasks, while Stack Overflow is better for debugging tasks. Regarding task completion speed, the ChatGPT group is obviously faster than the Stack Overflow group in the algorithmic challenge, but the two groups have a similar performance in the other two tasks. Additionally, we conducted a post-experiment survey with the participants to understand how the platforms have helped them complete the programming tasks. We analyzed the questionnaires to summarize ChatGPT and Stack Overflow's strengths and weaknesses pointed out by the participants. By comparing these, we identified the reasons behind the two platforms' divergent performances in programming assistance. |
关键词 | |
学校署名 | 第一
|
相关链接 | [IEEE记录] |
来源库 | IEEE
|
全文链接 | https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10430054 |
引用统计 | |
成果类型 | 会议论文 |
条目标识符 | http://sustech.caswiz.com/handle/2SGJ60CL/719099 |
专题 | 南方科技大学 |
作者单位 | 1.Southern University of Science and Technology, Shenzhen, Guangdong, China 2.Department of Computer Science and Engineering, Research Institute of Trustworthy Autonomous Systems |
第一作者单位 | 南方科技大学 |
第一作者的第一单位 | 南方科技大学 |
推荐引用方式 GB/T 7714 |
Jinrun Liu,Xinyu Tang,Linlin Li,et al. ChatGPT vs. Stack Overflow: An Exploratory Comparison of Programming Assistance Tools[C],2023:364-373.
|
条目包含的文件 | 条目无相关文件。 |
|
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论