To Search or To Gen? Exploring the Synergy between Generative AI and Web Search in Programming

Ryan Yen, Nicole Sultanum and Jian Zhao

Abstract

The convergence of generative AI and web search is reshaping problem-solving for programmers. However, the lack of understanding regarding their interplay in the information-seeking process often leads programmers to perceive them as alternatives rather than complementary tools. To analyze this interaction and explore their synergy, we conducted an interview study with eight experienced programmers. Drawing from the results and literature, we have identified three major challenges and proposed three decision-making stages, each with its own relevant factors. Additionally, we present a comprehensive process model that captures programmers’ interaction patterns. This model encompasses decision-making stages, the information-foraging loop, and cognitive activities during system interaction, offering a holistic framework to comprehend and optimize the use of these convergent tools in programming.

Venue
CHI 2024
Volume
Extended Abstracts of the CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3613905.3650867
PDF
https://dl.acm.org/doi/pdf/10.1145/3613905.3650867
Anthology ID
2024.chi-ea.384

Cite

@inproceedings{yen-etal-2024-search,
    title = {{To Search or To Gen? Exploring the Synergy between Generative AI and Web Search in Programming}},
    author = {Ryan Yen and Nicole Sultanum and Jian Zhao},
    booktitle = {Extended Abstracts of the CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400703317},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3613905.3650867},
    url = {https://doi.org/10.1145/3613905.3650867},
    abstract = {The convergence of generative AI and web search is reshaping problem-solving for programmers. However, the lack of understanding regarding their interplay in the information-seeking process often leads programmers to perceive them as alternatives rather than complementary tools. To analyze this interaction and explore their synergy, we conducted an interview study with eight experienced programmers. Drawing from the results and literature, we have identified three major challenges and proposed three decision-making stages, each with its own relevant factors. Additionally, we present a comprehensive process model that captures programmers’ interaction patterns. This model encompasses decision-making stages, the information-foraging loop, and cognitive activities during system interaction, offering a holistic framework to comprehend and optimize the use of these convergent tools in programming.}
}