Learning Programming in Informal Spaces: Using Emotion as a Lens to Understand Novice Struggles on r/learnprogramming
Abstract
Novice programmers experience emotional difficulties in informal online learning environments, where Confusion and Frustration can hinder motivation and learning outcomes. This study investigates novice programmers’ emotional experiences in informal settings, identifies causes of emotional struggle, and explores design opportunities for affect-aware support systems. We manually annotated 1,500 posts from r/learnprogramming using the Learning-Centered Emotions framework, applying clustering, and axial coding. Confusion, Curiosity, and Frustration dominated emotional experiences, sometimes co-occurring and linked to early learning stages. Positive emotions were infrequent. The primary emotional triggers included ambiguous errors, unclear learning pathways, and misaligned resources. We identify five key areas where novice programmers need support in informal space: Stress Relief and Resilient Motivation, Topic Explanation and Resource Recommendation, Strategic Decision Making and Learning Guidance, Technical Support, and Supporting Acknowledgment. Our findings underscore the need for intelligent, affect-sensitive mechanism for providing timely support aligned with learners’ emotional states.
Fields of Study & Subjects
Teaching and Learning Programming
Innovative Teaching and Learning Methods
Innovative Education and Learning Practices
Publication details
- Journal / source
- Proceedings of the IEEE/ACM 48th International Conference on Software Engineering
- Publisher
- ACM
- Pages
- 13–24
- Publication date
- 12 April 2026