Cremona, L., Dunne, N.C., Sharma-Oates, A., Smith, P. and Compton, L. (2025) ‘“Feeling the code”: Emotions in programming and interventions supporting positivity’

Abstract

Aims. Universities and disciplines may differ, but all face similar challenges in teaching programming, particularly the emotional responses of students learning to code. In our data-driven world, teaching students how to code is vital for their digital literacy and employability. The aims of this project were to understand the emotions students experience in introductory programming modules in different disciplines and contexts, the factors predisposing students towards negative emotional responses and what interventions can effectively promote positivity. Methods. We gathered data from MSc Bioinformatics and MSc Data Science students studying both on-campus and via distance learning. Surveys and focus groups explored emotional responses to learning coding languages. We conducted cross-disciplinary workshops with over 30 University of Birmingham staff to identify key barriers and challenging concepts in coding education. Key findings. Students report joy more frequently than any other emotion when learning to code. At the same time, students frequently experience frustration related to mismatches between expectations and the reality of coding. Assessment should encompass the learning process alongside the outcomes of coding tasks. While emotional negativity did not differ significantly by programme, fewer negative emotional responses were shown by males or students with prior coding experience. Based on our findings, we developed interventions aimed at humanising the learning experience to foster more positive engagement. Practical recommendations. Student expectations need to be managed upfront, normalising the experience of learning to code and emphasising the need to expect and accept mistakes, as well as taking an iterative approach and adopting a growth mindset.Keywords: coding teaching, computer science, bioinformatics, programming, emotions in learning, positivity in learning, engagement.

Download

Download the paper here.

Previous articles and issues

View all articles and issues of Education in Practice here.