From Anecdote to Evidence: The Relationship Between Personality and Need for Cognition of Developers

Daniel Russo, Andrés R. Masegosa, Klaas-Jan Stol

Abstract

Software engineering has long been associated with complex problem-solving and mental puzzles, yet empirical evidence linking developer personality to cognitive drive remains sparse. This study investigates the "Need for Cognition" (NfC)—the intrinsic enjoyment of effortful thinking—among software professionals. Using Bayesian multi-model linear regression on a sample of 483 developers, the research explores how traits from the HEXACO and Dark Triad models predict this drive. Results indicate that developers are cognitive outliers with significantly higher NfC than the general population, and that personality traits, particularly Openness and Conscientiousness, account for approximately 33% of the variance in NfC.

Introduction

The software engineering community has frequently relied on anecdotal stereotypes of developers as natural problem-solvers. However, there is a critical need for rigorous data to understand what actually drives their cognitive engines. This paper addresses the gap by focusing on the Need for Cognition (NfC), a stable psychological trait representing a preference for deep thinking rather than raw intelligence. Understanding the link between personality and NfC is vital for improving recruitment, team dynamics, and managing developer burnout.

Methodology

The researchers conducted a large-scale study using the Prolific platform, implementing a rigorous three-step screening process to ensure data integrity:

  1. Pre-screening: Identifying active software developers.
  2. Competence Screening: A time-boxed technical test on software design and programming to filter out non-experts.
  3. Quality Screening: Integrated attention checks to prevent random responding.

The analysis employed Bayesian multi-model linear regression, evaluating 512 alternative models to identify the best predictors of NfC. Personality was measured using the HEXACO model (Honesty-Humility, Emotionality, Extraversion, Agreeableness, Conscientiousness, and Openness to Experience) and the Dark Triad (Narcissism, Psychopathy, and Machiavellianism).

Participant Demographics

The study generated a dataset of 483 valid responses from a diverse range of software professionals, including programmers, data scientists, and DevOps engineers. The sample was predominantly male and largely based in the United Kingdom and the United States.

Table showing the gender distribution of the 483 study participants.
Table detailing the geographic distribution of participants, with the UK and USA representing the majority.

Key Findings

  • Developers as Cognitive Outliers: Software engineers demonstrated a mean NfC of 3.97/5, significantly higher than scores reported in previous studies of graduate students and other professional cohorts.
  • The "Bright" Side of Personality: While "Dark Triad" traits like Narcissism are often associated with high-performance environments, they showed virtually no correlation with a developer's drive for effortful thinking.
  • Predictive Traits: Personality traits explain approximately 33% ($R^2 \approx 0.33$) of the variation in NfC. The strongest predictors included:
  • Openness to Experience: The most significant predictor, indicating a crave for new ideas.
  • Conscientiousness: Correlating diligence with the effort required for deep thinking.
  • Honesty-Humility: Sincerity and lack of greed were found to align with cognitive drive.
  • Low Emotionality: Lower anxiety levels correlated with a higher capacity for effortful cognition.

Implications and Limitations

The findings suggest that recruitment strategies for developers should focus on "cognitive" messaging—emphasizing technical challenges and learning opportunities—rather than purely affective or emotional appeals.

However, the study notes several limitations. As a correlational study, it cannot definitively establish whether personality causes high NfC or if the profession reinforces these traits over time. Additionally, the reliance on self-reported data, despite quality checks, introduces potential bias. Future research should investigate how NfC impacts specific tasks like code review quality and long-term career retention.

Summary updated

BibTeX
@inproceedings{russo2022from,
  author = {Daniel Russo and Andrés R. Masegosa and Klaas-Jan Stol},
  title = {{From Anecdote to Evidence: The Relationship Between Personality and Need for Cognition of Developers}},
  booktitle = {Empir. Softw. Eng},
  year = {2022},
  url = {https://openreview.net/forum?id=IHQ6fJgkDz},
}
Figure