Unexpected but informative: What fixation-related potentials tell us about the processing of confusing program code

Annabelle Bergum, Anna-Maria Maurer, Norman Peitek, Regine Bader, Axel Mecklinger, Vera Demberg, Janet Siegmund, Sven Apel · 2024

Read Unexpected but informative: What fixation-related potentials tell us about the processing of confusing program code by Annabelle Bergum, Anna-Maria Maurer, Norman Peitek, Regine Bader, Axel Mecklinger, Vera Demberg, Janet Siegmund, Sven Apel (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-10099.txt.

Description

Annabelle Bergum and co-authors record brain signals tied to eye movements as programmers read confusing code. Their 2024 paper studies atoms of confusion: tiny code patterns that baffle humans but run fine on a computer. Understanding code is a growing need as software spreads through work and life.

When readers first fixated on a confusing pattern, a late frontal brain wave appeared, hundreds of milliseconds later. Clean versions of the same code did not trigger it. The wave resembles one seen in language studies when a word is unexpected yet plausible. The authors suggest the brain updates its model of the situation in like ways for code and for sentences. The finding opens a brain-based way to spot code that will slow maintainers down.

Catalog record

CREATORAnnabelle Bergum, Anna-Maria Maurer, Norman Peitek, Regine Bader, Axel Mecklinger, Vera Demberg, Janet Siegmund, Sven Apel
YEAR2024
COLLECTIONPAPERS
FORMATTXT
FILE SIZE55 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2412-10099

Browse the full library · About the Tower of Babel