Artificial Intelligence (AI) is reshaping how developers adopt software engineering practices, yet the multi-dimensional nature of developer-AI interaction remains under-explored. Prior studies have primarily examined dimensions observable from developer activities such as "Prompt Crafting" and "Code Editing," overlooking how hidden intentions and emotional dimensions intertwine with concrete actions during AI-assisted programming. To understand this phenomenon, we conducted a mixed-methods study with 76 developers split into AI-assisted and non-AI groups. Each performed programming tasks (Python with API management or Java with SQL). Developers retrospectively labeled their self-reported intentions, tool-supported actions, and emotions from screen recordings, supplemented by surveys and interviews. Our user study resulted in a novel model named S-IASE with four dimensions to describe programming behavior: intention, action, supporting tool, and emotion for a given development state. Our analysis reveals aggregated and sequential behavioral patterns. For example, using AI assistants often makes developers more focused on actively creating code, evaluating, and verifying generated results. AI-assisted participants showed emotionally stable development flow, as opposed to non-AI-assisted participants who experienced more fluctuating emotions. Interviews revealed further nuance: some developers reported impostor-like feelings, expressing guilt or self-doubt about relying on AI. Our work bridges an important gap in understanding the complexities of developer-AI interaction in programming context.
翻译:人工智能正在重塑开发者采纳软件工程实践的方式,但开发者与AI互动的多维性仍未被充分探索。先前研究主要考察了可从开发者活动(如“提示设计”和“代码编辑”)中观察到的维度,忽视了AI辅助编程过程中隐藏意图与情感维度如何与具体行动相互交织。为理解这一现象,我们对76名开发者进行了混合方法研究,将其分为AI辅助组和非AI组。每位开发者需完成编程任务(包含API管理的Python任务或含SQL的Java任务)。开发者通过屏幕录像回溯标注其自述意图、工具支持行为及情感状态,辅以问卷调查和访谈。我们的用户研究最终提出了一个名为S-IASE的新模型,包含四个维度描述编程行为:特定开发状态下的意图、行动、支持工具和情感。分析揭示了聚合性与序列性行为模式。例如,使用AI助手通常使开发者更专注于主动创建代码、评估和验证生成结果。AI辅助组参与者表现出情感稳定的开发流程,而非AI辅助组参与者则经历更多情绪波动。访谈揭示了更深层差异:部分开发者报告了类似冒充者综合征的感受,对依赖AI产生内疚或自我怀疑。我们的工作弥合了理解编程情境中开发者-AI互动复杂性的重要差距。