Table of Contents
Fetching ...

Learning Programming in Informal Spaces: Using Emotion as a Lens to Understand Novice Struggles on r/learnprogramming

Alif Al Hasan, Subarna Saha, Mia Mohammad Imran

TL;DR

The paper investigates how emotions shape novice programmers' learning in informal online spaces by analyzing 1,500 posts from r/learnprogramming through the Learning-Centered Emotions framework. It combines manual annotation with clustering to identify prevalent emotions and their triggers, and derives five actionable support needs. The authors propose a design vision for lightweight affect-aware bots to provide topic explanations, learning guidance, debugging assistance, emotional support, and acknowledgment. The work offers practical guidance for building scalable, emotion-sensitive interventions in informal learning communities and outlines avenues for evaluating their impact across platforms. Overall, it advances understanding of affective dynamics in self-directed programming education and informs the design of supportive, community-integrated tools.

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 the 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 and conducted clustering and axial coding. Confusion, curiosity, and frustration were the most common emotions, often co-occurring and associated with early learning stages. Positive emotions were relatively rare. The primary emotional triggers included ambiguous errors, unclear learning pathways, and misaligned learning resources. We identify five key areas where novice programmers need support in informal learning spaces: stress relief and resilient motivation, topic explanation and resource recommendation, strategic decision-making and learning guidance, technical support, and acknowledgment of their challenges. Our findings highlight the need for intelligent, affect-sensitive mechanisms that provide timely support aligned with learners' emotional states.

Learning Programming in Informal Spaces: Using Emotion as a Lens to Understand Novice Struggles on r/learnprogramming

TL;DR

The paper investigates how emotions shape novice programmers' learning in informal online spaces by analyzing 1,500 posts from r/learnprogramming through the Learning-Centered Emotions framework. It combines manual annotation with clustering to identify prevalent emotions and their triggers, and derives five actionable support needs. The authors propose a design vision for lightweight affect-aware bots to provide topic explanations, learning guidance, debugging assistance, emotional support, and acknowledgment. The work offers practical guidance for building scalable, emotion-sensitive interventions in informal learning communities and outlines avenues for evaluating their impact across platforms. Overall, it advances understanding of affective dynamics in self-directed programming education and informs the design of supportive, community-integrated tools.

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 the 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 and conducted clustering and axial coding. Confusion, curiosity, and frustration were the most common emotions, often co-occurring and associated with early learning stages. Positive emotions were relatively rare. The primary emotional triggers included ambiguous errors, unclear learning pathways, and misaligned learning resources. We identify five key areas where novice programmers need support in informal learning spaces: stress relief and resilient motivation, topic explanation and resource recommendation, strategic decision-making and learning guidance, technical support, and acknowledgment of their challenges. Our findings highlight the need for intelligent, affect-sensitive mechanisms that provide timely support aligned with learners' emotional states.

Paper Structure

This paper contains 22 sections, 5 figures, 2 tables.

Figures (5)

  • Figure 1: Example of concern and community support in r/learnprogramming
  • Figure 2: Overview of our r/learnprogramming data collection pipeline.
  • Figure 3: Frequency of Learning-Centered Emotions across 1,500 posts.
  • Figure 4: Co-occurrence Matrix of Emotions annotated with multiple LCEs.
  • Figure 5: Mapping Novice Programmers’ Emotions to Support Needs (note: this is many-to-many connection).