Ten principles for reliable, efficient, and adaptable coding in psychology and cognitive neuroscience
Research output: Contribution to journal › Research article › Contributed › peer-review
Contributors
Abstract
Writing code is becoming essential for psychology and neuroscience research, supporting increasingly advanced experimental designs, processing of ever-larger datasets and easy reproduction of scientific results. Despite its critical role, coding remains challenging for many researchers, as it is typically not part of formal academic training. We present a range of practices tailored to different levels of programming experience, from beginners to advanced users. Our ten principles help researchers streamline and automate their projects, reduce human error, and improve the quality and reusability of their code. For principal investigators, we highlight the benefits of fostering a collaborative environment that values code sharing. Maintaining basic standards for code quality, reusability, and shareability is critical for increasing the trustworthiness and reliability of research in experimental psychology and cognitive neuroscience.
Details
| Original language | English |
|---|---|
| Article number | 62 |
| Journal | Communications psychology |
| Volume | 3 |
| Issue number | 1 |
| Publication status | Published - 15 Apr 2025 |
| Peer-reviewed | Yes |
| Externally published | Yes |
External IDs
| PubMed | 40234662 |
|---|---|
| Mendeley | e20d4c4d-b559-3a14-b6e0-add6388492c7 |
| unpaywall | 10.1038/s44271-025-00236-3 |