🌙

编程任务影响新手程序员对道德困境的反应

Programming Tasks Impact Responses to Moral Dilemmas for Novice Programmers

Information Systems Research · 2025
被引 0
人大 AFT50UTD24ABS 4*

中文导读

实验发现,完成简单编程任务会使新手程序员在经典电车难题中更倾向于功利主义选择(牺牲一人救多人),原因是编程诱导了基于规则的认知风格,但该效应随经验增加而减弱,可通过时间延迟或道德提示缓解。

Abstract

The rapid diffusion of programming skills across education and industry may impact how individuals consider moral dilemmas. Across a series of experiments, we show that performing even simple programming tasks shifts novice programmers’ evaluation of the classic trolley problem toward utilitarian responses. After solving a programming problem, respondents are more willing to sacrifice one life to save many. This effect arises because programming induces a deliberative, rule-based cognitive style. However, the effect diminishes with greater programming experience and can be mitigated through interventions, such as time delays or moral nudges. These findings highlight that organizations training employees in coding should be aware that programming tasks may temporarily alter moral reasoning, potentially influencing judgments in ethically charged contexts (e.g., product design, risk management, or AI development). Incorporating reflective cooling-off periods or explicit ethical reinforcement may reduce bias toward utilitarian reasoning. As programming becomes a baseline skill across the workforce, its cognitive spillovers could shape societal attitudes toward contested moral dilemmas. These include ethical trade-offs in settings such as autonomous vehicles and artificial intelligence systems.

道德推理认知风格编程教育实验经济学