Programming Tasks Impact Responses to Moral Dilemmas for Novice Programmers
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.
Authors
- Jui Ramaprasad (ORCID: https://orcid.org/0000-0001-7339-7457)
- Tanya Singh (ORCID: https://orcid.org/0000-0003-0009-9277)
- Kartik K. Ganju (ORCID: https://orcid.org/0000-0002-6174-5298)
Institutions
- University of Minnesota (US)
- Rensselaer Polytechnic Institute (US)
- Decision Sciences (United States) (US)
- University of Maryland, College Park (US)
Publication Details
- Journal
- Information Systems Research
- Published
- 2025-10-15
- DOI
- https://doi.org/10.1287/isre.2022.0376
- Primary Topic
- Education and Critical Thinking Development
- Type
- article
- Field-Weighted Citation Impact
- 0.00