The why, what, and how of AI-based coding in scientific research
<|reference_start|>The why, what, and how of AI-based coding in scientific research: 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.<|reference_end|>
@article{zhuang2024the,
    title={The why, what, and how of AI-based coding in scientific research},
    author={Tonghe Zhuang and Zhicheng Lin},
    journal={arXiv preprint arXiv:2410.02156},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.02156},
    primaryClass={cs.CY cs.AI cs.CL cs.PL}
}