arXiv · 2410.02156
The why, what, and how of AI-based coding in scientific research
Abstract
Computer programming (coding) is indispensable for researchers across disciplines, yet it remains challenging to learn and time-consuming to carry out. Generative AI, particularly large language models (LLMs), has the potential to transform coding into intuitive conversations, but best practices and effective workflows are only emerging. We dissect AI-based coding through three key lenses: the nature and role of LLMs in coding (why), six types of coding assistance they provide (what), and a five-step workflow in action with practical implementation strategies (how). Additionally, we address the limitations and future outlook of AI in coding. By offering actionable insights, this framework helps to guide researchers in effectively leveraging AI to enhance coding practices and education, accelerating scientific progress.
Explore related subjects
Keep this discovery
Tonghe Zhuang, Zhicheng Lin. 2024-10-03. The why, what, and how of AI-based coding in scientific research. https://arxiv.org/abs/2410.02156
Cite the original work for its findings. Save a collection to share your selection of sources.