How do you feel, developer? An explanatory theory of the impact of affects on programming performance

Affects---emotions and moods---have an impact on cognitive activities and the working performance of individuals. Development tasks are undertaken through cognitive processes, yet software engineering research lacks theory on affects and their impact on software development activities. In this paper, we report on an interpretive study aimed at broadening our understanding of the psychology of programming in terms of the experience of affects while programming, and the impact of affects on programming performance. We conducted a qualitative interpretive study based on: face-to-face open-ended interviews, in-field observations, and e-mail exchanges. This enabled us to construct a novel explanatory theory of the impact of affects on development performance. The theory is explicated using an established taxonomy framework. The proposed theory builds upon the concepts of events, affects, attractors, focus, goals, and performance. Theoretical and practical implications are given.

[1]  E. A. Locke Toward a theory of task motivation and incentives , 1968 .

[2]  Pekka Abrahamsson,et al.  Do feelings matter? On the correlation of affects and the self‐assessed productivity in software engineering , 2014, J. Softw. Evol. Process..

[3]  รศ.ดร.ธีรศักดิ์ อุ่นอารมย์เลิศ,et al.  Research Design: Qualitative, Quantitative, and Mixed Method Approaches , 2016 .

[4]  M. Csíkszentmihályi Finding Flow: The Psychology of Engagement with Everyday Life , 1997 .

[5]  Thomas Fritz,et al.  Stuck and Frustrated or in Flow and Happy: Sensing Developers' Emotions and Progress , 2015, 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering.

[6]  Lawrence B. Mohr,et al.  Explaining organizational behavior , 1982 .

[7]  Pekka Abrahamsson,et al.  Software Developers, Moods, Emotions, and Performance , 2014, IEEE Software.

[8]  Daniel M. Haybron Happiness and Pleasure , 2001 .

[9]  J. Russell,et al.  Core affect, prototypical emotional episodes, and other things called emotion: dissecting the elephant. , 1999, Journal of personality and social psychology.

[10]  Teresa M. Amabile,et al.  Creativity and Innovation in Organizations , 1996 .

[11]  P. Kleinginna,et al.  A categorized list of emotion definitions, with suggestions for a consensual definition , 1981 .

[12]  Gerhard Fischer,et al.  Cognitive View of Reuse and Redesign , 1987, IEEE Software.

[13]  Andrew G. Miner,et al.  State mood, task performance, and behavior at work: A within-persons approach , 2010 .

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

[15]  Pekka Abrahamsson,et al.  Performance Alignment Work: How software developers experience the continuous adaptation of team performance in Lean and Agile environments , 2015, Inf. Softw. Technol..

[16]  Anselm L. Strauss,et al.  Basics of qualitative research : techniques and procedures for developing grounded theory , 1998 .

[17]  Pedro F Bendassolli,et al.  Theory Building in Qualitative Research: Reconsidering the Problem of Induction , 2013 .

[18]  Pekka Abrahamsson,et al.  The Affect of Software Developers: Common Misconceptions and Measurements , 2015, 2015 IEEE/ACM 8th International Workshop on Cooperative and Human Aspects of Software Engineering.

[19]  E. A. Locke,et al.  New Directions in Goal-Setting Theory , 2006 .

[20]  David Watson,et al.  Positive and Negative Affect Schedule , 2011 .

[21]  K. Weick What Theory Is Not, Theorizing Is , 1995 .

[22]  C. Geertz The interpretation of cultures: Selected essays , 1975 .

[23]  Pekka Abrahamsson,et al.  Understanding the affect of developers: theoretical background and guidelines for psychoempirical software engineering , 2015, SSE@SIGSOFT FSE.

[24]  A. Strauss,et al.  The discovery of grounded theory: strategies for qualitative research aldine de gruyter , 1968 .

[25]  D. Rennie Grounded Theory Methodology , 1998 .

[26]  Rob B. Briner,et al.  Changing Moods: The Psychology of Mood and Mood Regulation , 1996 .

[27]  Thomas Fritz,et al.  Software developers' perceptions of productivity , 2014, SIGSOFT FSE.

[28]  Paul M. Muchinsky,et al.  Emotions in the workplace: the neglect of organizational behavior , 2000 .

[29]  C. Geertz,et al.  The Interpretation of Cultures , 1973 .

[30]  S. Nolen-Hoeksema,et al.  Gender and age differences in emotion regulation strategies and their relationship to depressive symptoms , 2011 .

[31]  Claes Wohlin,et al.  Using students as subjects - an empirical evaluation , 2008, ESEM '08.

[32]  K. Felmingham,et al.  Sex Differences and Emotion Regulation: An Event-Related Potential Study , 2013, PloS one.

[33]  Daniel M. Haybron On Being Happy or Unhappy1 , 2005 .

[34]  S. Nolen-Hoeksema,et al.  Emotion regulation and psychopathology: the role of gender. , 2012, Annual review of clinical psychology.

[35]  Daniel J. Beal,et al.  Reflections on Affective Events Theory , 2005 .

[36]  Pekka Abrahamsson,et al.  Rethinking the Concept of Commitment in Software Process Improvement , 2001, Scand. J. Inf. Syst..

[37]  Fernando Flores,et al.  Information technology and the institution of identity: Reflections since Understanding Computers and Cognition , 1998, Inf. Technol. People.

[38]  Silvio Romero de Lemos Meira,et al.  A Review of Productivity Factors and Strategies on Software Development , 2010, 2010 Fifth International Conference on Software Engineering Advances.

[39]  Natalia Juristo Juzgado,et al.  Are Students Representatives of Professionals in Software Engineering Experiments? , 2015, 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering.

[40]  ชวิตรา ตันติมาลา Constructing Grounded Theory: A Practical Guide through Qualitative Analysis , 2017 .

[41]  Carlo Ghezzi,et al.  Determining the Impact of Software Engineering Research on Practice , 2008, Computer.

[42]  Teresa M. Amabile,et al.  Affect and Creativity at Work , 2005 .

[43]  P. Terry,et al.  Distinctions between emotion and mood , 2005 .

[44]  R. H. Franke,et al.  The Hawthorne experiments: First statistical interpretation. , 1978 .

[45]  Kerr L White,et al.  The Hawthorne experiments. , 1943, Nursing times.

[46]  Robert M. Hierons,et al.  Do moods affect programmers’ debug performance? , 2011, Cognition, Technology & Work.

[47]  D. Beal,et al.  An episodic process model of affective influences on performance. , 2005, The Journal of applied psychology.

[48]  Claes Wohlin,et al.  Using Students as Subjects—A Comparative Study of Students and Professionals in Lead-Time Impact Assessment , 2000, Empirical Software Engineering.

[49]  John W. Creswell,et al.  Research Design: Qualitative, Quantitative, and Mixed Methods Approaches , 2010 .

[50]  N. Schwarz Feelings as information: Informational and motivational functions of affective states. , 1990 .

[51]  Daniel M. Haybron Do We Know How Happy We Are? On Some Limits of Affective Introspection and Recall , 2007 .

[52]  B. Glaser Theoretical Sensitivity: Advances in the Methodology of Grounded Theory , 1978 .

[53]  Michal R. Wróbel,et al.  Emotions in the software development process , 2013, 2013 6th International Conference on Human System Interactions (HSI).

[54]  A. Squires Methodological challenges in cross-language qualitative research: a research review. , 2009, International journal of nursing studies.

[55]  Pekka Abrahamsson,et al.  Happy software developers solve problems better: psychological measurements in empirical software engineering , 2014, PeerJ.

[56]  Geoff Walsham,et al.  Doing interpretive research , 2006, Eur. J. Inf. Syst..

[57]  Michael A. West,et al.  A test of basic assumptions of Affective Events Theory (AET) in call centre work , 2006 .

[58]  Andrew Ortony,et al.  The Cognitive Structure of Emotions , 1988 .

[59]  Sigal G. Barsade,et al.  Why Does Affect Matter in Organizations , 2007 .

[60]  D. E. Slot,et al.  Research methods. , 2016, Journal of the American Dental Association.

[61]  Patrik Berander,et al.  Using students as subjects in requirements prioritization , 2004, Proceedings. 2004 International Symposium on Empirical Software Engineering, 2004. ISESE '04..

[62]  A. Brief,et al.  Organizational behavior: affect in the workplace. , 2002, Annual review of psychology.

[63]  Per Runeson,et al.  Using Students as Experiment Subjects – An Analysis on Graduate and Freshmen Student Data , 2003 .

[64]  T. Abma,et al.  qualitative research: is meaning lost in translation? , 2022 .

[65]  J. Russell Emotion, core affect, and psychological construction , 2009 .

[66]  Kristen M. Shockley,et al.  A Meta-Analytic Investigation of the Relationship Between State Affect, Discrete Emotions, and Job Performance , 2012 .

[67]  Lefteris Angelis,et al.  Links between the personalities, views and attitudes of software engineers , 2010, Inf. Softw. Technol..

[68]  Violina P. Rindova,et al.  Editor's Comments: Publishing Theory When You are New to the Game , 2008 .

[69]  A. Strauss,et al.  The Discovery of Grounded Theory , 1967 .

[70]  K. R. Priya Grounded Theory Methodology , 2013 .

[71]  C. Brodsky The Discovery of Grounded Theory: Strategies for Qualitative Research , 1968 .

[72]  D. Watson,et al.  Development and validation of brief measures of positive and negative affect: the PANAS scales. , 1988, Journal of personality and social psychology.

[73]  J. Gabrieli,et al.  Gender Differences in Emotion Regulation: An fMRI Study of Cognitive Reappraisal , 2008, Group processes & intergroup relations : GPIR.

[74]  S. Lyubomirsky,et al.  The Benefits of Frequent Positive Affect: Does Happiness Lead to Success? , 2005, Psychological bulletin.

[75]  Daniela E. Damian,et al.  Selecting Empirical Methods for Software Engineering Research , 2008, Guide to Advanced Empirical Software Engineering.

[76]  Shari Lawrence Pfleeger,et al.  Preliminary Guidelines for Empirical Research in Software Engineering , 2002, IEEE Trans. Software Eng..

[77]  A. Langley Strategies for Theorizing from Process Data , 1999 .

[78]  Leland B. Yeager Henry George and Austrian Economics , 2001 .

[79]  Juliet M. Corbin,et al.  Basics of Qualitative Research (3rd ed.): Techniques and Procedures for Developing Grounded Theory , 2008 .

[80]  B. Nijstad,et al.  Group Creativity and Innovation: A Motivated Information Processing Perspective , 2011 .

[81]  G. Clore,et al.  Mood, misattribution, and judgments of well-being: Informative and directive functions of affective states. , 1983 .

[82]  Neal M. Ashkanasy,et al.  The emerging role of emotions in work life: An introduction. , 2000 .

[83]  Kai Petersen,et al.  Measuring and predicting software productivity: A systematic map and review , 2011, Inf. Softw. Technol..

[84]  Shirley Gregor,et al.  The Nature of Theory in Information Systems , 2006, MIS Q..

[85]  C. W. Hughes Emotion: Theory, Research and Experience , 1982 .

[86]  K. Eisenhardt Building theories from case study research , 1989, STUDI ORGANIZZATIVI.

[87]  Robert Feldt,et al.  Behavioral software engineering: A definition and systematic literature review , 2015, J. Syst. Softw..

[88]  Ivar Jacobson,et al.  Where's the Theory for Software Engineering? , 2012, IEEE Software.

[89]  Ronald Lippitt,et al.  The research center for group dynamics , 1947 .

[90]  Ray J. Paul,et al.  The Labyrinths of Information: Challenging the Wisdom of Systems , 2005, Eur. J. Inf. Syst..

[91]  R. Paul Review of "The labyrinths of information: Challenging the wisdoms of systems" by Claudio Ciborra, Oxford University Press, Oxford, UK, 2002 , 2005 .

[92]  K. Charmaz,et al.  Constructing Grounded Theory: A practical guide through qualitative analysis Kathy Charmaz Constructing Grounded Theory: A practical guide through qualitative analysis Sage 224 £19.99 0761973532 0761973532 [Formula: see text]. , 2006, Nurse researcher.

[93]  Robert Feldt,et al.  Towards a behavioral software engineering , 2014, CHASE.

[94]  Janice Singer,et al.  Guide to Advanced Empirical Software Engineering , 2007 .

[95]  Kurt Lewin,et al.  The Research Center for Group Dynamics at Massachusetts Institute of Technology. , 1945 .

[96]  David Clutterbuck,et al.  Coaching reflection: the liberated coach , 2010 .

[97]  H. Weiss,et al.  Affective Events Theory: A theoretical discussion of the structure, causes and consequences of affective experiences at work. , 1996 .

[98]  Chu Kim-prieto,et al.  New Well-being Measures: Short Scales to Assess Flourishing and Positive and Negative Feelings , 2010 .

[99]  M. Bradley,et al.  Measuring emotion: the Self-Assessment Manikin and the Semantic Differential. , 1994, Journal of behavior therapy and experimental psychiatry.

[100]  Joseph Finkelstein,et al.  The use and interpretation of quasi-experimental studies in medical informatics. , 2006, Journal of the American Medical Informatics Association : JAMIA.

[101]  H. Heath,et al.  Developing a grounded theory approach: a comparison of Glaser and Strauss. , 2004, International journal of nursing studies.

[102]  J. Russell Culture and the categorization of emotions. , 1991, Psychological bulletin.

[103]  Kari Smolander,et al.  How Applicable Is ISO/IEC 29110 in Game Software Development? , 2013, PROFES.

[104]  Michael D. Myers,et al.  A Set of Principles for Conducting and Evaluating Interpretive Field Studies in Information Systems , 1999, MIS Q..

[105]  Cynthia D. Fisher,et al.  Mood and emotions while working: missing pieces of job satisfaction? , 2000 .

[106]  Sigal G. Barsade,et al.  Group emotion: A view from top and bottom. , 1998 .

[107]  Teresa Lesiuk,et al.  The effect of music listening on work performance , 2005 .

[108]  Walter F. Tichy,et al.  Hints for Reviewing Empirical Work in Software Engineering , 2000, Empirical Software Engineering.