What Software Engineering Can Learn from Research on Affect in Social Psychology

Social psychology researchers have, traditionally, focused on the construct of thinking rather than on feeling. Since the beginning of the 21st century, social science researchers have, however, increasingly explored the effects of affect. Their work has repeatedly recognized that affects play a crucial role in determining people's behavior. In this short paper, we argue that software engineering studies on affect would benefit from using more of the knowledge that social science researchers have acquired. Without accounting for their findings, we risk re-inventing the wheel. Also, without a profound understanding of the complex interplay between social context and affect, we risk creating overly simplistic solutions that might have considerable long-term adverse effects for software engineers.

[1]  J. Lerner,et al.  Beyond valence: Toward a model of emotion-specific influences on judgement and choice , 2000 .

[2]  Amy J. C. Cuddy,et al.  Universal dimensions of social cognition: warmth and competence , 2007, Trends in Cognitive Sciences.

[3]  Rose F. Gamble,et al.  Outcomes of Emotional Content from Agile Team Forum Posts , 2016, 2016 IEEE/ACM 1st International Workshop on Emotional Awareness in Software Engineering (SEmotion).

[4]  Miikka Kuutila,et al.  Daily Questionnaire to Assess Self-Reported Well-Being during a Software Development Project , 2018, 2018 IEEE/ACM 3rd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[5]  David F. Redmiles,et al.  Using Playful Drawing to Support Affective Expressions and Sharing in Distributed Teams , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[6]  Nelly Condori-Fernández,et al.  Using Emotions to Empower the Self-Adaptation Capability of Software Services , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[7]  Craig A. Smith,et al.  Patterns of cognitive appraisal in emotion. , 1985, Journal of personality and social psychology.

[8]  Alexander Serebrenik,et al.  On negative results when using sentiment analysis tools for software engineering research , 2017, Empirical Software Engineering.

[9]  Karl Werder,et al.  The Evolution of Emotional Displays in Open Source Software Development Teams: An Individual Growth Curve Analysis , 2018, 2018 IEEE/ACM 3rd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[10]  Stefan Wagner,et al.  Towards the Assessment of Stress and Emotional Responses of a Salutogenesis-Enhanced Software Tool Using Psychophysiological Measurements , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[11]  J. Forgas When sad is better than happy: Negative affect can improve the quality and effectiveness of persuasive messages and social influence strategies , 2007 .

[12]  Olivier Liechti,et al.  OpenAffect API: A Proposal for Enabling an Ecosystem of Emotion Awareness Tools , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[13]  K. Fiedler,et al.  Affective and cognitive influences in social dilemma game , 1994 .

[14]  Sandy Lovie How the mind works , 1980, Nature.

[15]  J. Forgas Mood and judgment: the affect infusion model (AIM). , 1995, Psychological bulletin.

[16]  Bonita Sharif,et al.  Emotional Awareness in Software Development: Theory and Measurement , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[17]  E. Murray,et al.  The amygdala and reward , 2002, Nature Reviews Neuroscience.

[18]  Michele Marchesi,et al.  On Measuring Affects of GitHub Issues' Commenters , 2018, 2018 IEEE/ACM 3rd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[19]  J. Russell Core affect and the psychological construction of emotion. , 2003, Psychological review.

[20]  Serge Demeyer,et al.  An exploratory qualitative and quantitative analysis of emotions in issue report comments of open source systems , 2017, Empirical Software Engineering.

[21]  J. Forgas On being happy and mistaken: mood effects on the fundamental attribution error. , 1998, Journal of personality and social psychology.

[22]  Joseph P. Forgas,et al.  On feeling good and being rude: Affective influences on language use and request formulations. , 1999 .

[23]  Pekka Abrahamsson,et al.  Consequences of Unhappiness while Developing Software , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[24]  Chris Parnin,et al.  Characterizing and Predicting Mental Fatigue during Programming Tasks , 2017, 2017 IEEE/ACM 2nd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[25]  J. Forgas,et al.  On feeling good and getting your way: mood effects on negotiator cognition and bargaining strategies. , 1998, Journal of personality and social psychology.

[26]  Joseph P. Forgas,et al.  On feeling good and getting your way: mood effects on negotiator cognition and bargaining strategies. , 1998, Journal of personality and social psychology.

[27]  Hailong Sun,et al.  Entity-Level Sentiment Analysis of Issue Comments , 2018, 2018 IEEE/ACM 3rd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[28]  R. C. Sinclair,et al.  Mood, categorization breadth, and performance appraisal: The effects of order of information acquisition and affective state on halo, accuracy, information retrieval, and evaluations , 1988 .

[29]  J. Forgas Feeling and Doing: Affective Influences on Interpersonal Behavior , 2002 .

[30]  J. Crocker,et al.  A Collective Self-Esteem Scale: Self-Evaluation of One's Social Identity , 1992 .

[31]  Emerson R. Murphy-Hill,et al.  Sentiment and Politeness Analysis Tools on Developer Discussions Are Unreliable, but So Are People , 2018, 2018 IEEE/ACM 3rd International Workshop on Emotion Awareness in Software Engineering (SEmotion).

[32]  C. Sedikides Incongruent effects of sad mood on self- conception valence: it's a matter of time , 1994 .

[33]  G. Schino,et al.  Reciprocal Altruism in Primates: Partner Choice, Cognition, and Emotions , 2009 .