Skip to content
Back to the collection

Need for Sleep: the Impact of a Night of Sleep Deprivation on Novice Developers' Performance

Davide Fucci, Giuseppe Scanniello, Simone Romano, Natalia Juristo

2018 · arXiv

Read the paper
HN score
0
Mentions
3
Readers
3
Months
3
What’s in a score?

From the abstract

We present a quasi-experiment to investigate whether, and to what extent, sleep deprivation impacts the performance of novice software developers using the agile practice of test-first development (TFD). We recruited 45 undergraduates and asked them to tackle a programming task. Among the participants, 23 agreed to stay awake the night before carrying out the task, while 22 slept usually. We analyzed the quality (i.e., the functional correctness) of the implementations delivered by the participants in both groups, their engagement in writing source code (i.e., the amount of activities performed in the IDE while tackling the programming task) and ability to apply TFD (i.e., the extent to which a participant can use this practice). By comparing the two groups of participants, we found that a single night of sleep deprivation leads to a reduction of 50% in the quality of the implementations. There is important evidence that the developers' engagement and their prowess to apply TFD are negatively impacted. Our results also show that sleep-deprived developers make more fixes to syntactic mistakes in the source code. We conclude that sleep deprivation has possibly disruptive effects on software development activities. The results open opportunities for improving developers' performance by integrating the study of sleep with other psycho-physiological factors in which the software engineering research community has recently taken an interest in.

Metadata: arXiv. Abstracts retain their original authors’ rights.

In the conversation

Original HN comments, with labels from simple text rules. A label describes the whole comment and may miss context or irony. Read the discussion to make up your own mind. About the labels

3 selected excerpts · 3 total mentions

agentultra
Neutral mention · rule
It definitely does. In what few empirical studies on what makes programmers effective, sleep, is the primary contributing factor to low error rates [0][1]. Stress and overwork are probably close seconds. And some of these studies are cross-sectional across knowledge workers; iow, not just programmers. If you want to make it to your 40s and still be an effective IC you need to learn how to regulate yourself and follow a disciplined approach to work. Cognitive performance from chronic sleep deprivation takes years to show up. [0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2656292/ [1] https://arxiv.org/pdf/1805.02544.pdf
jackcodes
Neutral mention · rule
Point taken - this is as valuable an opinion as any other. I'd love for an empoloyer to care about it enough to 'put their money where their mouth' is when it comes to making sure I'm looking out for myself sleep wise, but I wholeheartedly accept this stance. ref: [0] Sleep deprivation: Impact on cognitive performance https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2656292/ [1] Need for Sleep: the Impact of a Night of SleepDeprivation on Novice Developers’Performance https://arxiv.org/pdf/1805.02544.pdf [2] Personal anecdata
yogthos
Neutral mention · rule
Sure, however nobody has been shown that one approach is more costly than the other in practice. The most recent research available is the replication of the large scale GitHub study [1]. The relative effects of language choice on code quality is less than 1%. The main finding is that language choice hardly matters at all. On the other hand, we can easily measure the effects of factors like sleep [2], overwork [3], and happiness [4] on code quality. If static typing was an actual factor, we’d see exactly the same kinds of effects. There’s nothing wrong with enjoying static typing, but there’s simply no evidence that it plays any role past personal preference. Different…
Read the full comment
people solve problems in different ways, and have different pain points. It's entirely possible that each type discipline appeals to different mindsets. That is a value in itself. [1] https://arxiv.org/abs/1901.10220 [2] https://arxiv.org/pdf/1805.02544.pdf [3] http://web.archive.org/web/20090824001133/http://www.curt.or... [4] http://neverworkintheory.org/2014/05/01/happy-sw-devs-solve-...

Keep following the thread.

More in Programming languages

More from the same topics.