“Will I be replaced?” Assessing ChatGPT's effect on software development and programmer perceptions of AI tools
Document Type
Article
Source of Publication
Science of Computer Programming
Publication Date
7-1-2024
Abstract
ChatGPT is a language model with artificial intelligence (AI) capabilities that has found utility across various sectors. Given its impact, we conducted two empirical studies to assess the potential and limitations of ChatGPT and other AI tools in software development. In the first study, we evaluated ChatGPT 3.5′s effectiveness in generating code for 180 coding problems from LeetCode, an online coding interview preparation platform. Our findings suggest that ChatGPT 3.5 is more effective in solving easy and medium coding problems but less reliable for harder problems. Further, ChatGPT 3.5 is somewhat more effective at coding problems with higher popularity scores. In the second study, we administered a questionnaire (N = 99) to programmers to gain insights into their views on ChatGPT and other AI tools. Our findings indicate that programmers use AI tools for various tasks, such as generating boilerplate code, explaining complex code, and conducting research. AI tools also help programmers to become more productive by creating better-performing, shorter, and more readable code, among other benefits. However, AI tools can sometimes misunderstand requirements and generate erroneous code. While most programmers are not currently concerned about AI tools replacing them, they are apprehensive about what the future may hold. Our research has also revealed associations between AI tool usage, trust, perceived productivity, and job security threats caused by the tools.
DOI Link
ISSN
Publisher
Elsevier BV
Volume
235
Disciplines
Computer Sciences
Keywords
AI tools, Chatbot, ChatGPT, Programmer assistant tools
Scopus ID
Recommended Citation
Kuhail, Mohammad Amin; Mathew, Sujith Samuel; Khalil, Ashraf; Berengueres, Jose; and Shah, Syed Jawad Hussain, "“Will I be replaced?” Assessing ChatGPT's effect on software development and programmer perceptions of AI tools" (2024). All Works. 6484.
https://zuscholars.zu.ac.ae/works/6484
Indexed in Scopus
yes
Open Access
no